Order the steps
Order what happens during an asynchronous commit and failover.
- Leader acknowledges the commit
- Client's acknowledged write is gone
- Client commits on the leader
- Leader crashes before shipping that WAL
- Follower is promoted
Choose an answer, then open Show answer below to check it.
Show answer
Answer: C A D E B
- Client commits on the leader The leader writes WAL locally.
- Leader acknowledges the commit Async: it doesn't wait for followers.
- Leader crashes before shipping that WAL The follower never received the record.
- Follower is promoted It becomes the new leader without that commit.
- Client's acknowledged write is gone The cost of async replication.