hinted-handoff · shipping

Hinted handoff

Hinted handoff retains information about an update missed by an intended replica and attempts to deliver it later.

Related Observatory article: Read on hesela.com

Cassandra 5.0.0 coordinators retain missed or timed-out mutations for later delivery to their intended replicas. Hints are best effort and do not replace anti-entropy repair. [1]

Acknowledgements: For ordinary non-counter writes, ANY can be satisfied by a coordinator hint. ONE and QUORUM require replica responses. Hint-only acceptance does not establish immediate read availability; ANY is not a read consistency level. [4] [5] [6]

Lifetime: max_hint_window limits new hint generation, not a universal expiry time or replay deadline. Default-enabled persistent windows also consider the oldest retained hint for the destination. Expiry separately depends on the affected tables' recorded and current gc_grace_seconds, capped by the maximum hint TTL. [2] [7]

Relations

related
Anti-entropy repair, Read repair, Sloppy quorum, Write quorum

Limitations

  • An empty hint queue does not prove that replicas have received every missed mutation. [1, 2]
  • A hint acknowledgement alone is not evidence that an fsync completed. [6, 8]

Citations

  1. Apache Cassandra 5.0.0: Hints (accessed 2026-11-07)
  2. Apache Cassandra 5.0.0: max_hint_window configuration (accessed 2026-11-07)
  3. Apache Cassandra 5.0.0: Dynamo architecture and consistency levels (accessed 2026-11-07)
  4. Apache Cassandra 5.0.0: ConsistencyLevel.java, read and counter-write validation (accessed 2026-11-07)
  5. Apache Cassandra 5.0.0: StorageProxy.java, submitHint and shouldHint (accessed 2026-11-07)
  6. Apache Cassandra 5.0.0: Hint.java, ttl and expirationInMillis (accessed 2026-11-07)
  7. Apache Cassandra 5.0.0: HintsService.java, buffered write and flushAndFsyncBlockingly (accessed 2026-11-07)

Further reading

  1. Replica repair: what has actually converged? (accessed 2026-10-13)

JSON: /data/terms/hinted-handoff.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Hinted handoff. Hesela. 2026-11-07. https://hesela.dev/terms/hinted-handoff/