It depends on your data model. -pr only repair primary range. So if there
is a keyspace with replication 'DC2:3', and you run repair -pr only on all
nodes of DC1, it is not going to repair token ranges corsponding to DC2. So
you will have to run on each node.
-Arvinder
On Fri, Jun 8, 2018, 8:42
According docs at
http://cassandra.apache.org/doc/latest/operating/repair.html?highlight=single
*The -pr flag will only repair the “primary” ranges on a node, so you can
repair your entire cluster by running nodetool repair -pr on each node in
a single datacenter.*
But I saw many places, where
I want to repair all nodes at all data centers.
Example:
DC1
nodeA
nodeB
nodeC
DC2
node D
node E
node F
If I run `nodetool repair -pr` at nodeA nodeB and nodeC, will all ranges be
repaired?
On Fri, 8 Jun 2018 at 17:57 Rahul Singh
wrote:
> From DS dox : "Do not use -pr with this option
>From DS dox : "Do not use -pr with this option to repair only a local data
>center."
On Jun 8, 2018, 10:42 AM -0400, user@cassandra.apache.org, wrote:
>
> nodetool repair -pr
It will on 2.2 and higher, yes.
Also, just want to point out that it would be worth it for you to compare how
long incremental repairs take vs full repairs in your cluster. There are some
problems (which are fixed in 4.0) that can cause significant overstreaming when
using incremental repair.
Understand simple mechanics first, decide how to act later.
Without -PR there's no difference from which host to run repair, it runs for
the whole 100% range, from start to end, the whole cluster, all nodes, at once.
With -PR it runs only for a primary range of a node you are running a repair.
In your case -pr would be just fine (see Viktor's explanation).
2012/6/5 Viktor Jevdokimov viktor.jevdoki...@adform.com
Understand simple mechanics first, decide how to act later.
** **
Without –PR there’s no difference from which host to run repair, it runs
for the whole 100% range,
On Tue, Jun 5, 2012 at 8:44 AM, Viktor Jevdokimov
viktor.jevdoki...@adform.com wrote:
Understand simple mechanics first, decide how to act later.
** **
Without –PR there’s no difference from which host to run repair, it runs
for the whole 100% range, from start to end, the whole
@cassandra.apache.org
Subject: Re: nodetool repair -pr enough in this scenario?
On Tue, Jun 5, 2012 at 8:44 AM, Viktor Jevdokimov
viktor.jevdoki...@adform.commailto:viktor.jevdoki...@adform.com wrote:
Understand simple mechanics first, decide how to act later.
Without -PR there's no difference from which host
and
irrevocably delete this message and any copies.
From: Sylvain Lebresne [mailto:sylv...@datastax.com]
Sent: Tuesday, June 05, 2012 11:02
To: user@cassandra.apache.org
Subject: Re: nodetool repair -pr enough in this scenario?
On Tue, Jun 5, 2012 at 8:44 AM, Viktor Jevdokimov
Thank you for all the replies. It has been enlightening to read. I think I
now have a better idea of repair, ranges, replicas and how the data is
distributed. It also seems that using -pr would be the best way to go in my
scenario with 1.x+
Thank you for all the feedback. Glad to see such an
11 matches
Mail list logo