-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[Zen2] Add safety phase to CoordinatorTests #34241
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
Merged
DaveCTurner
merged 34 commits into
elastic:zen2
from
DaveCTurner:2018-10-02-run-randomly
Oct 4, 2018
Merged
Changes from 16 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
aa41f6e
Introduce runRandomly
DaveCTurner 24b4a54
Ignore publications from self if no longer leading
DaveCTurner 29cab38
Must become follower after successfully processing publish request
DaveCTurner 289d39f
Fix log messages
DaveCTurner a556784
Must guard peer removal
DaveCTurner 91b0314
Timeout RequestPeersRequests
DaveCTurner 19bd1ae
Reset port counter more frequently
DaveCTurner 4d717b9
Remove failing assertion for now
DaveCTurner 2b9883e
Add comment describing why we reject a publication here
DaveCTurner c4ffe22
Re-qualify mode
DaveCTurner c66c4b0
Revert
DaveCTurner a4d5c74
No need for this guard without the affected assertion
DaveCTurner f777097
Add test that PeersRequest has a timeout
DaveCTurner 3a7fc1d
Line length
DaveCTurner d1b2535
Merge branch 'zen2' into 2018-10-02-run-randomly
DaveCTurner 76c1d05
Rework stabilisation assertions
DaveCTurner 0b180f0
Term mismatch is rejected by CoordinatorState
DaveCTurner c14cf7a
Register setting
DaveCTurner ff33d68
Reduce default for discovery.request_peers_timeout to 3s
DaveCTurner e5bb9b3
Execute directly, no need for mutex
DaveCTurner af227e7
Only runRandomly if no disruptions in place
DaveCTurner f8d5458
Only log changes to connected state
DaveCTurner 78757f9
Revamp disruption-management logic
DaveCTurner cf7047a
Fix description of publication
DaveCTurner a470eca
Fix order of requestId/action in request description
DaveCTurner dc2bddc
Remove bogus assertion
DaveCTurner 257eb85
No need for this method any more
DaveCTurner 1d9a917
More state in assertion message
DaveCTurner 1a58b48
Stand down as master in rare condition
DaveCTurner b7a5328
Revert "Stand down as master in rare condition"
DaveCTurner 34eb71b
Move assertion
DaveCTurner 98a24f4
Timeout join requests
DaveCTurner a9f3e00
Use assertThat for better error messages
DaveCTurner 29ad624
Merge branch 'zen2' into 2018-10-02-run-randomly
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
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.