incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexis Midon <alexismi...@gmail.com>
Subject Re: run repair on each node or every R nodes?
Date Fri, 19 Oct 2012 03:38:46 GMT
Thank you guys. It makes sense.
I'll have repair-pr schedule on each node.



On Thu, Oct 18, 2012 at 3:39 AM, aaron morton <aaron@thelastpickle.com>wrote:

> Without -pr the repair works on all token ranges the node is a replica
> for.
>
> With -pr it  only repairs data in the token range it is assigned. In your
> case when you ran it on node 0 with RF the token range form node 0 was
> repaired on nodes 0, 1 and 2. The other token ranges on nodes 0, 1 and 2
> were not repaired.
>
> Cheers
>
>
>   -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 18/10/2012, at 5:15 AM, Andrey Ilinykh <ailinykh@gmail.com> wrote:
>
>
> In my mind it does make sense, and what you're saying is correct. But I
> read
> that it was better to run repair in each node with a "-pr" option.
>
> Alain
>
> Yes, it's correct. Running repair -pr on each node you repair whole
> cluster without job duplication.
>
> Andrey
>
>
>

Mime
View raw message