AdvancedAbout 15 min

    Sloppy Quorums & Hinted Handoff

    Read the full article on Substack

    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.

    Key k, client reaches H1, X1, X2acks: 0

    Home nodes for the key

    H1v1
    H2v1cut off
    H3v1cut off

    Other nodes

    X1spare
    X2spare

    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.

    1/4

    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

    Sequence

    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.

    1. 1Drop a step here
    2. 2Drop a step here
    3. 3Drop a step here
    4. 4Drop a step here
    5. 5Drop a step here
    5 pieces left to place

    Quiz

    8 questions
    Question 1 of 8
    Score: 0

    With 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.

    Keep going