-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add voting-only master node #43410
Merged
Merged
Add voting-only master node #43410
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
0567b49
Voting-only nodes
DaveCTurner 7dd80ce
Randomise good-quorum calculation in CoordinationStateTests
DaveCTurner c298508
State transfer only
ywelsch 0d3750d
Move to isElectionQuorum
ywelsch ee52a89
use JoinVoteCollection
ywelsch 1a50872
fix test
ywelsch 2cb2010
fix build and use transport intercepter
ywelsch 8383823
move tests
ywelsch 9ee9fdc
move tests
ywelsch 77c252f
rest test
ywelsch 9de65ea
Add x-pack feature set
ywelsch 03d249f
add docs
ywelsch b170c9d
fixup
ywelsch c11b2e6
fix docs tests
ywelsch d109686
Register usage action
ywelsch e410121
more fixups
ywelsch 88f081d
Merge remote-tracking branch 'elastic/master' into state-transfer-only
ywelsch 5e260d5
more fixes
ywelsch 65fda75
More fixups
ywelsch 1b30c71
Merge remote-tracking branch 'elastic/master' into state-transfer-only
ywelsch fbba2c3
fix docs tests on OSS distrib
ywelsch e7c325e
Fold JoinVoteCollection into VoteCollection
ywelsch 1caa1b6
s/election type/election strategy/
ywelsch 6907d06
test adjustment
ywelsch e284426
Move ElectionStrategy from interface to class
ywelsch bcd6ec2
Have VotingOnlyNodePlugin always enabled
ywelsch 264e5a3
Ryan feedback
ywelsch d8a0b9a
checkstyle
ywelsch ccdb483
doc changes
ywelsch 28efcf0
Add note about voting-only in default distrib
ywelsch 7bb6fa2
Reword docs
DaveCTurner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the docs should clearly delineate that
voting_only
requires x-pack, we can wrap it in conditionals and add x-pack annotations so that it doesn't show in the docs if someone builds the OSS-only docs, and has x-pack designations in the docs when the full docs are published.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't know that OSS-only docs were even a thing. Are we publishing those somewhere? How do you build those? You will have to spell out the details on how to set up the conditionals, I'm not aware of any such infrastructure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While we do have
[x-pack]
macros, I'm not aware of an OSS-only docs build functionality.@debadair @lcawl Are you aware of an OSS-only docs build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don’t build them but it’s available for users that want to build OSS-only docs.
@lcawl Can you help @ywelsch add the appropriate x-pack annotations here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Content that requires the default distribution should be tagged with the [role="xpack"] directive. Now that all of the doc source is in the public repo we no longer maintain two versions of the index.asciidoc file, so conditional statements based on the
include_xpack
attribute have no effect.Inline references like this are tricky. If using the
voting_only
attribute throws an error in the OSS distro, I'd be inclined to add a note to that effect. Something like:@lcawl can correct me if I'm wrong, but I don't think there's (currently) any way to attach the xpack bug to an admonition block.