Repository navigation
Conversation
spetz
force-pushed
the
recover_voters
branch
from
November 29, 2026 20:37
9a1a5a6 to
7928842
Compare
spetz
force-pushed
the
recover_voters
branch
from
November 29, 2026 20:38
7928842 to
f39e433
Compare
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (27.57%) is below the target coverage (50.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #5116 +/- ##
============================================
+ Coverage 92.26% 92.30% +0.04%
+ Complexity 4367 4366 -1
============================================
Files 1592 1625 +33
Lines 436807 447871 +11064
Branches 365039 376022 +10983
============================================
+ Hits 403019 413414 +10395
- Misses 28172 28698 +526
- Partials 5616 5759 +143
🚀 New features to boost your workflow:
|
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
One storage fault could lose a committed operation. A voter that
acknowledged a prepare and then lost its disk, or came back from an
older disk image with the same identity, still counted as an intact
voter: its vote could nack the operation away, and a vote it sent
before the fault could still elect a view without it. Nothing let a
node outside the static roster join a cluster either.
Every restarted voter now treats its storage as possibly old until
fresh replies from every other voter of its group bound its view and
its log is proven. A vote carries the boot incarnation of its sender,
and a voter counts it only for the incarnation it registered through
a challenge, so a vote of an earlier life never counts again. An
untrusted vote adds copies to the merge and never a nack. A voter
never acknowledges below a view it voted in, and a primary whose
members cannot acknowledge steps down. A partition copy that never
built its history neither acknowledges nor blocks a fresh election,
while a partition whose every copy was lost waits as before. The
first durable bootstrap needs the whole roster. Reads and checkpoint
publication wait for that proof, and operators see it in a log line,
a gauge and the storage revision file.
An operator with manage_servers reserves a slot for a new node with a
one-time join secret. The node joins through an authenticated seed,
binds its disk to the slot once, and follows committed metadata as a
learner that never votes or acknowledges. Membership and operation
progress are readable over the binary protocol, HTTP, the Rust SDK and
the CLI, and the existing cluster metadata response is unchanged.
A bounded model of the handover planned for live reconfiguration runs
the production quorum rules, view merge and suffix codec, and every
guard it relies on fails a pinned counterexample when disabled.
Clients send operation 152, which the metadata primary resolves into
internal operation 77, and seeds bind disks with operation 78. The
replica wire revision moves to 7 and the metadata snapshot format to
22, so upgrading from revision 6 needs a coordinated stop.
Relates to #5110