Hi,
Can you please help me know if such a scenario is possible with RAFT ?.
Lets say we have a cluster of 5 nodes A-E with A as a Leader and following sequence of events take place:
1. A sends the replicate change request parallely to all the followers.
2. Only B could receive the request as C-E crashed or partitioned just before receiving the change.
3. Leader A tries multiple times to get majority and finally crashed.
4. C - E comes online again. B - E waits for election timeout to restart the election
5. C becomes the candidate and win the election as it creates a majority with C - E
6. Uncommitted Write is lost.
Such a case is possible even if the leader ensure with pre-voting.
Regards,
Tarun