/plushcap/analysis/datastax/datastax-repair-cassandra

Apache Cassandra Maintenance and Repair

What's this blog post about?

In Apache Cassandra, when using "nodetool repair", it is crucial to think in terms of token ranges rather than individual tokens. The default options for "nodetool repair" initiate a repair for every token range owned by the node. However, using the "-pr" option allows each node to pick a subset of its token range for repair, ensuring that every token range is only repaired once across all nodes in the cluster. This becomes especially important when dealing with multiple data centers and large numbers of nodes. Additionally, Cassandra 2.1 introduced incremental repair, which further optimizes the repair process by only performing synchronization on previously unrepaired data.

Company
DataStax

Date published
July 21, 2014

Author(s)
Jeremiah Jordan

Word count
1033

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.