Re: Question related to nodetool repair options

2021-09-07 Thread Deepak Sharma
Thanks Erick! It is clear now. On Tue, Sep 7, 2021 at 4:07 PM Erick Ramirez wrote: > No, I'm just saying that [-pr] is the same as [-pr -full], NOT the same as > just [-full] on its own. Primary range repairs are not compatible with > incremental repairs so by definition, -pr is a [-pr -full]

Re: Question related to nodetool repair options

2021-09-07 Thread Erick Ramirez
No, I'm just saying that [-pr] is the same as [-pr -full], NOT the same as just [-full] on its own. Primary range repairs are not compatible with incremental repairs so by definition, -pr is a [-pr -full] repair. I think you're confusing the concept of a full repair vs incremental. This document

Re: Question related to nodetool repair options

2021-09-07 Thread Deepak Sharma
Thanks Erick for the response. So in option 3, -pr is not taken into consideration which essentially means option 3 is the same as option 1 (which is the full repair). Right, just want to be sure? Best, Deepak On Tue, Sep 7, 2021 at 3:41 PM Erick Ramirez wrote: > >1. Will perform a full

Re: Question related to nodetool repair options

2021-09-07 Thread Erick Ramirez
1. Will perform a full repair vs incremental which is the default in some later versions. 2. As you said, will only repair the token range(s) on the node for which it is a primary owner. 3. The -full flag with -pr is redundant -- primary range repairs are always done as a full

Question related to nodetool repair options

2021-09-07 Thread Deepak Sharma
Hi There, We are on Cassandra 3.0.11 and I want to understand what is the difference between following two commands 1. nodetool repair -full 2. nodetool repair -pr 3. nodetool repair -full -pr As per my understanding 1. will do the full repair across all keyspaces. 2. with -pr, restricts repair