0

Lets say We have a cluster of 5 nodes and A is the leader. Following sequence of events take place:

  1. A sends the replicate change request in parallel to all the followers.
  2. Only B could receive the request as C-E crashed or partition just before receiving the change.
  3. Leader A tries multiple times to get majority and crashed.
  4. C - E comes online again and after the election timeout, B - E participate in the election.
  5. C becomes the candidate and wins the election as it create a majority with C - E
  6. Uncommitted write is lost from B

Is this scenario possible ?

1 Answer 1

0

Checked with Raft-Dev Community and yes its very possible to lost uncommitted writes.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.