Re: -pr vs. no -pr

2013-03-02 Thread Jim Cistaro
: Friday, March 1, 2013 5:46 AM To: user@cassandra.apache.org user@cassandra.apache.org Subject: Re: -pr vs. no -pr Sweeet, I %100 understand this now from these last few emails. It has always been a bit confusing. Thanks, Dean From: Sylvain Lebresne sylv...@datastax.commailto:sylv

Re: -pr vs. no -pr

2013-03-01 Thread Tristan Seligmann
On Fri, Mar 1, 2013 at 12:39 AM, Hiller, Dean dean.hil...@nrel.gov wrote: Isn't it true if I have 6 nodes, I could run nodetool repair on just 2 nodes(RF=3) instead of using nodetool repair –pr??? What is the advantage of –pr then? I think the main advantage of nodetool is that you don't

Re: -pr vs. no -pr

2013-03-01 Thread Sylvain Lebresne
On Thu, Feb 28, 2013 at 11:39 PM, Hiller, Dean dean.hil...@nrel.gov wrote: Isn't it true if I have 6 nodes, I could run nodetool repair on just 2 nodes(RF=3) instead of using nodetool repair –pr??? Yes, it is true. And to precise further, in your case you have 2 options: 1) doing repair

Re: -pr vs. no -pr

2013-03-01 Thread Hiller, Dean
@cassandra.apache.org Date: Friday, March 1, 2013 4:36 AM To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Subject: Re: -pr vs. no -pr On Thu, Feb 28, 2013 at 11:39 PM, Hiller, Dean dean.hil...@nrel.govmailto:dean.hil...@nrel.gov

-pr vs. no -pr

2013-02-28 Thread Hiller, Dean
Isn't it true if I have 6 nodes, I could run nodetool repair on just 2 nodes(RF=3) instead of using nodetool repair –pr??? What is the advantage of –pr then? I mean a repair involves all three nodes and pushes and pulls data, right? Thanks, Dean

Re: -pr vs. no -pr

2013-02-28 Thread Michael Theroux
The way I've always thought about it is that -pr will make sure the information that specific node originates is consistent with its replicas. So, we know that a node is responsible for a specific token range, and the next nodes in the ring will hold its replicas. The -pr will make sure that a