{
  "slug": "hinted-handoff",
  "term": "Hinted handoff",
  "aliases": [],
  "definition": "Hinted handoff retains information about an update missed by an intended replica and attempts to deliver it later.",
  "note": "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. [hints]\n\nAcknowledgements: 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. [cassandra] [levels] [proxy]\n\nLifetime: 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. [config] [hint-code]",
  "status": "shipping",
  "advantages": [],
  "limitations": [
    {
      "text": "An empty hint queue does not prove that replicas have received every missed mutation.",
      "citationIds": [
        "hints",
        "config"
      ]
    },
    {
      "text": "A hint acknowledgement alone is not evidence that an fsync completed.",
      "citationIds": [
        "proxy",
        "hint-service"
      ]
    }
  ],
  "related": [
    "anti-entropy-repair",
    "read-repair",
    "sloppy-quorum",
    "write-quorum"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-07",
  "citations": [
    {
      "id": "hints",
      "title": "Apache Cassandra 5.0.0: Hints",
      "url": "https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/managing/operating/hints.adoc",
      "accessed": "2026-11-07"
    },
    {
      "id": "config",
      "title": "Apache Cassandra 5.0.0: max_hint_window configuration",
      "url": "https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/conf/cassandra.yaml",
      "accessed": "2026-11-07"
    },
    {
      "id": "hesela-repair",
      "title": "Replica repair: what has actually converged?",
      "url": "https://hesela.com/analyses/replica-repair-coverage/",
      "accessed": "2026-10-13"
    },
    {
      "id": "cassandra",
      "title": "Apache Cassandra 5.0.0: Dynamo architecture and consistency levels",
      "url": "https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/architecture/dynamo.adoc",
      "accessed": "2026-11-07"
    },
    {
      "id": "levels",
      "title": "Apache Cassandra 5.0.0: ConsistencyLevel.java, read and counter-write validation",
      "url": "https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/src/java/org/apache/cassandra/db/ConsistencyLevel.java",
      "accessed": "2026-11-07"
    },
    {
      "id": "proxy",
      "title": "Apache Cassandra 5.0.0: StorageProxy.java, submitHint and shouldHint",
      "url": "https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/src/java/org/apache/cassandra/service/StorageProxy.java",
      "accessed": "2026-11-07"
    },
    {
      "id": "hint-code",
      "title": "Apache Cassandra 5.0.0: Hint.java, ttl and expirationInMillis",
      "url": "https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/src/java/org/apache/cassandra/hints/Hint.java",
      "accessed": "2026-11-07"
    },
    {
      "id": "hint-service",
      "title": "Apache Cassandra 5.0.0: HintsService.java, buffered write and flushAndFsyncBlockingly",
      "url": "https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/src/java/org/apache/cassandra/hints/HintsService.java",
      "accessed": "2026-11-07"
    }
  ]
}
