You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Krish Donald <go...@gmail.com> on 2019/10/19 04:32:55 UTC

Cassandra Repair question

Hi Cassandra experts,


We are on Cassandra 3.11.1.

We have to run repairs for a big cluster.

We have 2 DCs.

3 RACs in each DC.

Replication factor is 3 for each datacenter .

So if I run repair on all nodes of a single  RAC with "pr" option then
ideally it will cover all the ranges.

Please correct my understanding.


Thanks

Re: Cassandra Repair question

Posted by "Max C." <mc...@core43.com>.
Yes - agree with Sergio.  For the majority of use cases, the best practice for repair is to use Cassandra Reaper.

> On Oct 19, 2019, at 12:06 am, Sergio <la...@gmail.com> wrote:
> 
> Use Cassandra reaper
> 
> On Fri, Oct 18, 2019, 10:12 PM Krish Donald <gotomypc27@gmail.com <ma...@gmail.com>> wrote:
> Thanks Manish,
> 
> What is the best and fastest way to repair a table using nodetool repair ?
> We are using 256 vnodes .
> 
> 
> On Fri, Oct 18, 2019 at 10:05 PM manish khandelwal <manishkhandelwal03@gmail.com <ma...@gmail.com>> wrote:
> No it will only cover primary ranges of nodes on single rac. Repair with -pr option is to be run on all nodes in a rolling manner.
> 
> Regards
> Manish
> 
> On 19 Oct 2019 10:03, "Krish Donald" <gotomypc27@gmail.com <ma...@gmail.com>> wrote:
> Hi Cassandra experts,
> 
> We are on Cassandra 3.11.1.
> We have to run repairs for a big cluster.
> We have 2 DCs.
> 3 RACs in each DC.
> Replication factor is 3 for each datacenter .
> So if I run repair on all nodes of a single  RAC with "pr" option then ideally it will cover all the ranges.
> Please correct my understanding.
> 
> Thanks
> 


Re: Cassandra Repair question

Posted by Sergio <la...@gmail.com>.
Use Cassandra reaper

On Fri, Oct 18, 2019, 10:12 PM Krish Donald <go...@gmail.com> wrote:

> Thanks Manish,
>
> What is the best and fastest way to repair a table using nodetool repair ?
> We are using 256 vnodes .
>
>
> On Fri, Oct 18, 2019 at 10:05 PM manish khandelwal <
> manishkhandelwal03@gmail.com> wrote:
>
>> No it will only cover primary ranges of nodes on single rac. Repair with
>> -pr option is to be run on all nodes in a rolling manner.
>>
>> Regards
>> Manish
>>
>> On 19 Oct 2019 10:03, "Krish Donald" <go...@gmail.com> wrote:
>>
>>> Hi Cassandra experts,
>>>
>>>
>>> We are on Cassandra 3.11.1.
>>>
>>> We have to run repairs for a big cluster.
>>>
>>> We have 2 DCs.
>>>
>>> 3 RACs in each DC.
>>>
>>> Replication factor is 3 for each datacenter .
>>>
>>> So if I run repair on all nodes of a single  RAC with "pr" option then
>>> ideally it will cover all the ranges.
>>>
>>> Please correct my understanding.
>>>
>>>
>>> Thanks
>>>
>>>
>>>

Re: Cassandra Repair question

Posted by Krish Donald <go...@gmail.com>.
Thanks Manish,

What is the best and fastest way to repair a table using nodetool repair ?
We are using 256 vnodes .


On Fri, Oct 18, 2019 at 10:05 PM manish khandelwal <
manishkhandelwal03@gmail.com> wrote:

> No it will only cover primary ranges of nodes on single rac. Repair with
> -pr option is to be run on all nodes in a rolling manner.
>
> Regards
> Manish
>
> On 19 Oct 2019 10:03, "Krish Donald" <go...@gmail.com> wrote:
>
>> Hi Cassandra experts,
>>
>>
>> We are on Cassandra 3.11.1.
>>
>> We have to run repairs for a big cluster.
>>
>> We have 2 DCs.
>>
>> 3 RACs in each DC.
>>
>> Replication factor is 3 for each datacenter .
>>
>> So if I run repair on all nodes of a single  RAC with "pr" option then
>> ideally it will cover all the ranges.
>>
>> Please correct my understanding.
>>
>>
>> Thanks
>>
>>
>>

Re: Cassandra Repair question

Posted by manish khandelwal <ma...@gmail.com>.
No it will only cover primary ranges of nodes on single rac. Repair with
-pr option is to be run on all nodes in a rolling manner.

Regards
Manish

On 19 Oct 2019 10:03, "Krish Donald" <go...@gmail.com> wrote:

> Hi Cassandra experts,
>
>
> We are on Cassandra 3.11.1.
>
> We have to run repairs for a big cluster.
>
> We have 2 DCs.
>
> 3 RACs in each DC.
>
> Replication factor is 3 for each datacenter .
>
> So if I run repair on all nodes of a single  RAC with "pr" option then
> ideally it will cover all the ranges.
>
> Please correct my understanding.
>
>
> Thanks
>
>
>