BugZero found this defect 2316 days ago.
All data on this page is proprietary to BugZero or gathered from public sources
No affected releases provided.
No fixed releases provided.
If the term of last vote on the disk is higher than the vote the candidate is about to write, the candidate should cancel the election, not continue silently.
email@example.com commented on Tue, 24 Oct 2017 01:26:57 +0000: Correctness (only vote once in a term) is guaranteed by updating the term while holding the repl mutex. Only if the term in election is higher than the voter's current one, the voter votes "yes". This is true for both voting for the node itself or another node. As a result, we may allow writing last vote with lower term to succeed as if the write happened before the current last vote.
Understand the cost to your business and how BugZero can help you reduce those costs.
Login to read and write comments.