Hinted handoff
Hinted handoff retains information about an update missed by an intended replica and attempts to deliver it later.
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
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
- Apache Cassandra 5.0.0: Hints
- Apache Cassandra 5.0.0: max_hint_window configuration
- Apache Cassandra 5.0.0: Dynamo architecture and consistency levels
- Apache Cassandra 5.0.0: ConsistencyLevel.java, read and counter-write validation
- Apache Cassandra 5.0.0: StorageProxy.java, submitHint and shouldHint
- Apache Cassandra 5.0.0: Hint.java, ttl and expirationInMillis
- Apache Cassandra 5.0.0: HintsService.java, buffered write and flushAndFsyncBlockingly