read-repair · shipping

Read repair

Read repair reconciles divergent replicas as part of processing a read request.

Related Observatory article: Read on hesela.com

When triggered, Cassandra 5.0.0 BLOCKING repairs queried data and waits for sufficient acknowledgements; NONE reconciles responses without repair writes. BLOCKING supports monotonic quorum reads, but a narrower read than write can expose partial partition updates. [1]

ALL counts replicas, not repaired columns. Cassandra 5.0.0 point-query tests expect a narrow read to leave unselected columns unrepaired; the helper uses ALL and checks each replica locally. Reading b also leaves a deletion of a unpropagated until a wider read. [3] [4] [5]

A timeout can follow an applied repair when its reply is lost. A separate zero-grace fixture expects no repair after tombstones were purged on one node. These are upstream test assertions reviewed by source inspection, not a cluster run or a production configuration recommendation. [6]

A late reply with a newer version is not by itself proof that an earlier read was stale: the PBS detector discussion also admits in-flight writes and writes committed after the read began. Replica version timestamps do not establish global commit order. This is a paper-level monitoring caveat, not a Cassandra detector implementation claim. [7]

Relations

related
DIRECT recovery, Anti-entropy repair, Hinted handoff, Monotonic reads, Read quorum, Quorum read write-back, Version vector, Dotted version vector

Limitations

  • A read does not establish agreement for unqueried data or every replica. [1]

Citations

  1. Apache Cassandra 5.0.0: Read repair (accessed 2026-10-13)
  2. Apache Cassandra 5.0.0: ReadRepairPointQueriesTest.java (accessed 2026-10-26)
  3. Apache Cassandra 5.0.0: ReadRepairQueryTester.java (accessed 2026-10-26)
  4. Apache Cassandra 5.0.0: ReadRepairTester.java (accessed 2026-10-26)
  5. Apache Cassandra 5.0.0: ReadRepairTest.java (accessed 2026-10-26)
  6. Bailis et al. Probabilistically Bounded Staleness for Practical Partial Quorums. PVLDB 5(8), 776-787 (2012), section 4.3. (accessed 2026-10-26)

Further reading

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

JSON: /data/terms/read-repair.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Read repair. Hesela. 2026-11-11. https://hesela.dev/terms/read-repair/