Sloppy Quorums & Hinted Handoff
6 min read.
Cut a client off from two replicas. See a strict quorum reject the write, a sloppy quorum accept it with hints, a stale read until handoff, and how read repair and anti-entropy clean up.
Think of it this way: A sloppy quorum is a neighbour who takes in your parcel when you are out. The parcel is safe and the courier is happy, but anyone who asks you for it gets "not here yet" until the neighbour hands it over.
Home nodes for the key
Other nodes
Key k lives on three home nodes, all at v1. A write needs W = 2 acks. A network split cuts the client off from H2 and H3.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
Hinted handoff, step by step
Order what happens from the split to the home node being up to date.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
- 1Drop a step here
- 2Drop a step here
- 3Drop a step here
- 4Drop a step here
- 5Drop a step here
Quiz
8 questionsWith a strict quorum and W = 2, only one home node is reachable. What happens to a write?
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.