|
|
|
|
|
by regularfry
4305 days ago
|
|
Yes, they have the log entry, but it can still be rolled back, can't it? Here's how I understand the process: 1. Client sends log entry to leader 2. Leader appends log entry, forwards it to followers 3. Majority of followers confirm 4. Leader commits the log entry 5. Leader confirms the commit to the client 6. Followers commit on the next heartbeat What happens if the leader goes away between 5 and 6? To my eyes, it looks like the followers will time out, elect a new leader, and have to roll back the last log entry. |
|