cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stone Fang <cnstonef...@gmail.com>
Subject Re: Exclude a host from the repair process
Date Thu, 21 Jul 2016 08:28:11 GMT
Hi
@Alain Rodriguez.what I mean is repiar will ignore all the replica data
that stored in down node.and continue to repair  other data.
once the down node up,then repair can work on the replica data belong to
the down node.

run repair always a daily work with auto script.we dont need to exclude the
down node as there are always down nodes in cluster.

thanks
stone

On Wed, Jul 20, 2016 at 7:20 PM, Amit Singh F <amit.f.singh@ericsson.com>
wrote:

> Hi Jean,
>
>
>
> This option is available in C* version 2.1.x & above, where you can
> specify hosts in nodetool  repair command . For more detail please visit
> the link below :
>
>
>
> https://docs.datastax.com/en/cassandra/2.1/cassandra/tools/toolsRepair.html
>
>
>
> Regards
>
> Amit Singh
>
>
>
> *From:* Alain RODRIGUEZ [mailto:arodrime@gmail.com]
> *Sent:* Wednesday, July 20, 2016 4:42 PM
> *To:* user@cassandra.apache.org
> *Subject:* Re: Exclude a host from the repair process
>
>
>
> Hi Jean,
>
>
>
> All the nodes are not necessary involved in a repair depending on vnodes
> being enabled or not, on your topology, on the racks you are using etc.
>
>
>
> This being said, if a node was supposed to be part of a repair process,
> the repair of all the subranges including the down node will fail. That's
> what I have seen happening so far. @Stone Fang, not sure who is right on
> this (I might have missed some information about this topic), but there is
> a ticket about this topic:
> https://issues.apache.org/jira/browse/CASSANDRA-10446. You apparently can
> specify which nodes to repair, but a down node is not automatically ignored
> as far as I can tell.
>
>
>
> C*heers,
>
> -----------------------
>
> Alain Rodriguez - alain@thelastpickle.com
>
> France
>
>
>
> The Last Pickle - Apache Cassandra Consulting
>
> http://www.thelastpickle.com
>
>
>
> 2016-07-14 9:16 GMT+02:00 Stone Fang <cnstonefang@gmail.com>:
>
> dont think it is necessary to remove the down node.
>
> the repair will continue comparing with other up node.ignore the down node.
>
>
>
> On Wed, Jul 13, 2016 at 9:44 PM, Jean Carlo <jean.jeancarl48@gmail.com>
> wrote:
>
> If a node is down in my cluster.
>
> Is it possible to exclude him from the repair process in order to continue
> with the repair?
>
> If not
>
> Is the repair continue reparing the other replicas even if one is down?
>
> Best regards
>
>
>
> Jean Carlo
>
>
> "The best way to predict the future is to invent it" Alan Kay
>
>
>
>
>

Mime
View raw message