Since data is partitioned and replicated onto multiple nodes, there is a possibility that replicas might be out of sync. This is usually due to slow responsiveness of certain nodes or nodes being down. If multiple nodes are out of sync, there is a possibility of reading stale data. There is also a certain case when deleted data reappears. To fix these issues, Cassandra provides three main repair mechanisms. These mechanisms ensure that the data is in sync most of the time. The repair mechanisms are as follows:
- Hinted handoff
- Read repair
- Anti-entropy repair