PrepCity

Merkle trees and anti-entropy repair

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 12 pages · about 10 min

Merkle trees and anti-entropy repair

Replicas drift apart when a node misses writes. Merkle trees find the few ranges that differ with a handful of hash comparisons; repair streams only those, and must run more often than gc_grace_seconds or deletes come undone.

Words you’ll learn

  • Row
  • Hinted handoff
  • Outage
  • Disk
  • Replica
  • Merkle tree
  • Stream
  • nodetool repair
  • Incremental repair
  • Tombstone

Page by page