Lets say We have a cluster of 5 nodes and A is the leader. Following sequence of events take place:
- A sends the replicate change request in parallel to all the followers.
- Only B could receive the request as C-E crashed or partition just before receiving the change.
- Leader A tries multiple times to get majority and crashed.
- C - E comes online again and after the election timeout, B - E participate in the election.
- C becomes the candidate and wins the election as it create a majority with C - E
- Uncommitted write is lost from B
Is this scenario possible ?