anti-entropy-repair · shipping · also Replica anti-entropy

Anti-entropy repair

Anti-entropy repair compares replica state over a selected scope and synchronizes differences to reduce divergence.

Related Observatory article: Read on hesela.com

Cassandra 5.0.0 compares common token ranges using Merkle trees and transfers differing data. Incremental repair skips data already marked repaired; full repair revisits the selected scope. [1]

Dynamo's SOSP 2007 design highlights a maintenance cost. Changing key-range boundaries required rebuilding Merkle trees. Its later fixed partitions decoupled boundaries from placement, allowing partition files to move as units. This historical design lesson concerns preparation cost, not a measured cost for current Cassandra. [3]

Agreement among current replicas does not certify a later archive import. If all deletion markers have been purged, the one-cell model's complete reconciliation propagates an imported old value rather than reconstructing the forgotten delete. One surviving marker protects the reconciled state, not necessarily the importing replica beforehand. This is not a Cassandra run; the example deliberately assumes ideal complete reconciliation. [4] [5] [6]

Relations

related
Read repair, Hinted handoff, Merkle tree, LSM tombstone, Set reconciliation

Limitations

  • One completed job need not cover the whole cluster, and incremental repair is not a complete later-corruption check. [1]

Citations

  1. Apache Cassandra 5.0.0: Repair (accessed 2026-10-13)
  2. DeCandia et al. Dynamo: Amazon's Highly Available Key-value Store. SOSP 2007, sections 4.7 and 6.2. (accessed 2026-10-18)
  3. Apache Cassandra 5.0.0. Repair: current replica scope. (accessed 2026-11-03)
  4. Apache Cassandra 5.0.0. Cells: regular-cell timestamp reconciliation. (accessed 2026-11-03)
  5. Hesela: archive-import teaching model, source receipts and reproduction (accessed 2026-11-03)

Further reading

  1. Replica repair: what has actually converged? (accessed 2026-10-13)
Sources & caveats
  • 2026-11-03: source synthesis and fixed single-cell model for future-import scope; no native Cassandra experiment or independent peer review.

JSON: /data/terms/anti-entropy-repair.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Anti-entropy repair. Hesela. 2026-11-03. https://hesela.dev/terms/anti-entropy-repair/