← Lessons

quiz vs the machine

Gold1360

Databases

Hinted Handoff

When a target replica is down a peer holds the write as a hint and delivers it later, trading durability for availability.

4 min read · core · beat Gold to climb

Keeping Writes Available

In a quorum store a write must reach enough replicas. If one target node is temporarily down, the coordinator does not have to reject the write. With hinted handoff another live node accepts the data on behalf of the missing one and stores a hint, a note saying which node the write really belongs to.

How the Hint Is Resolved

  • The helper node keeps the hinted write in a local buffer.
  • It periodically checks whether the original target is back.
  • When the target returns, the helper replays the buffered writes to it and deletes the hint.

This keeps the cluster available for writes during short outages while still working toward full replication.

The Limits

Hinted handoff is a best effort mechanism. If the helper node itself crashes before delivering the hint, that copy can be lost. It also does not by itself guarantee that every replica eventually converges, so it is paired with a background repair process that catches anything the hints miss.

Key idea

Hinted handoff lets a peer hold a write for a downed replica and deliver it on recovery, keeping writes available but needing repair as a backstop.

Check yourself

Answer to earn rating on the learn ladder.

1. What does a helper node store during hinted handoff?

2. Why is hinted handoff considered best effort?