Anti-Entropy Repair
Learn how Cassandra reconciles replica divergence over time using repair, and why it's an essential operational task.
Because Cassandra favors availability over strict consistency by default, replicas can diverge over time — due to dropped mutations, hinted handoff failures, node downtime, or network issues. Anti-entropy repair is the maintenance process that reconciles these differences, ensuring all replicas eventually converge to the same data (fulfilling the "eventual" part of eventual consistency).
Repair is like two branch offices periodically comparing summary checksums of their filing cabinets floor by floor and drawer by drawer, only pulling out and comparing actual documents in the specific drawers where the checksums don't match, instead of manually cross-checking every single page.