-
Notifications
You must be signed in to change notification settings - Fork 136
Committing entries from previous terms #220
Comments
Thanks for logging this issue, good catch! The quorum logic should implement the part in
This does not seem to be the case in our implementation. |
Any plan to fix this? |
Yes, it is still the plan to fix this. |
This bugs find almost a year, Is there a schedule plan for it. |
I have a branch where I'm implementing a fix as it has some unintended consequences in dqlite, however, unfortunately, things keep coming up in between to finish it. |
Thanks for the quick response, look forward to it. If you can share your branch here, we can try it and maybe give some advice. |
https://github.com/MathieuBordere/raft/commits/quorum-bugfix it's behind the current master somewhat though. |
I'm in the process of picking up Mathieu's previous work on this, will have a draft PR up soon. |
raft/src/replication.c
Lines 1539 to 1574 in 4c71b94
From section 3.6.2:
Raft never commits log entries from previous terms by counting replicas. Only log entries from the leader’s current term are committed by counting replicas.
In the code, I have not found the implementation of the logic described above.
The text was updated successfully, but these errors were encountered: