-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
raft: proactively probe newly added followers #11037
Commits on Aug 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c2d9514 - Browse repository at this point
Copy the full SHA c2d9514View commit details -
raft: initialize new Progress at LastIndex, not LastIndex+1
Initializing at LastIndex+1 meant that new peers would not be probed immediately when they appeared in the leader's config, which delays their getting caught up.
Configuration menu - View commit details
-
Copy full SHA for fdaed88 - Browse repository at this point
Copy the full SHA fdaed88View commit details -
rafttest: add _breakpoint directive
It is a helper case to attach a debugger to when a problem needs to be investigated in a longer test file. In such a case, add the following stanza immediately before the interesting behavior starts: _breakpoint: ---- ok and set a breakpoint on the _breakpoint case.
Configuration menu - View commit details
-
Copy full SHA for 3d6721f - Browse repository at this point
Copy the full SHA 3d6721fView commit details -
raft: proactively probe newly added followers
When the leader applied a new configuration that added voters, it would not immediately probe these voters, delaying when they would be caught up. I noticed this while writing an interaction-driven test, which has now been cleaned up and completed.
Configuration menu - View commit details
-
Copy full SHA for 4e19150 - Browse repository at this point
Copy the full SHA 4e19150View commit details
Commits on Aug 16, 2019
-
raft: add a batch of interaction-driven conf change tests
Verifiy the behavior in various v1 and v2 conf change operations. This also includes various fixups, notably it adds protection against transitioning in and out of new configs when this is not permissible. There are more threads to pull, but those are left for future commits.
Configuration menu - View commit details
-
Copy full SHA for 306e75a - Browse repository at this point
Copy the full SHA 306e75aView commit details -
raft: document problem with leader self-removal
When a leader removes itself, it will retain its leadership but not accept new proposals, making the range effectively stuck until manual intervention triggers a campaign event. This commit documents the behavior. It does not correct it yet.
Configuration menu - View commit details
-
Copy full SHA for 8d1946d - Browse repository at this point
Copy the full SHA 8d1946dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99f8046 - Browse repository at this point
Copy the full SHA 99f8046View commit details -
rafttest: print Ready before processing it
It was confusing to see the effects of the Ready (i.e. log messages) printed before the Ready itself.
Configuration menu - View commit details
-
Copy full SHA for 47ae53d - Browse repository at this point
Copy the full SHA 47ae53dView commit details