cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anishek Agarwal <>
Subject nodetool repair with -pr and -dc
Date Wed, 10 Aug 2016 08:20:31 GMT

We have 2.0.17 cassandra cluster(*DC1*) with a cross dc setup with a
smaller cluster(*DC2*).  After reading various blogs about
scheduling/running repairs looks like its good to run it with the following

-pr for primary range only
-st -et for sub ranges
-par for parallel
-dc to make sure we can schedule repairs independently on each Data centre
we have.

i have configured the above using the repair utility @

which leads to the following command :

./src/ -k [keyspace] -c [columnfamily name] -v -H localhost
-p -D* DC1*

but looks like the merkle tree is being calculated on nodes which are part
of other *DC2.*

why does this happen? i thought it should only look at the nodes in local
cluster. however on nodetool the* -pr* option cannot be used with
*-local* according
to docs @

so i am may be missing something, can someone help explain this please.


View raw message