cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maki Watanabe <watanabe.m...@gmail.com>
Subject nodetool repair & compact
Date Tue, 05 Apr 2011 05:01:40 GMT
Hello,
On reading O'Reilly's Cassandra book and wiki, I'm a bit confusing on
nodetool repair and compact.
I believe we need to run nodetool repair regularly, and it synchronize
all replica nodes at the end.
According to the documents the "repair" invokes major compaction also
(as side effect?).
Will this "major compaction" apply on replica nodes too?

If I have 3 node ring and CF of RF=3, what should I do periodically on
this system is:
- nodetool repair on one of the nodes
or
- nodetool repair on one of the nodes, and nodetool compact on 2 of the nodes
?

Thanks
maki

Mime
View raw message