Re: General question regarding bootstrap and nodetool repair

2013-01-31 Thread Rob Coli
On Thu, Jan 31, 2013 at 3:31 PM, Wei Zhu wrote: > The only reason I can think of is that the new node has the same IP as the > "dead" node we tried to replace? After reading the bootstrap code, it > shouldn't be the case. Is it a bug? Or anyone tried to replace a dead node > with the same IP? You

Re: General question regarding bootstrap and nodetool repair

2013-01-31 Thread Wei Zhu
uldn't be the case. Is it a bug? Or anyone tried to replace a dead node with the same IP? Thanks. -Wei - Original Message - From: "Wei Zhu" To: user@cassandra.apache.org Sent: Thursday, January 31, 2013 3:14:59 PM Subject: Re: General question regarding boot

Re: General question regarding bootstrap and nodetool repair

2013-01-31 Thread Wei Zhu
Sent: Thursday, January 31, 2013 1:50 PM Subject: Re: General question regarding bootstrap and nodetool repair On Thu, Jan 31, 2013 at 12:19 PM, Wei Zhu wrote: > But I am still not sure how about the my first question regarding the > bootstrap, anyone? As I understand it, bootstrap occurs

Re: General question regarding bootstrap and nodetool repair

2013-01-31 Thread Rob Coli
On Thu, Jan 31, 2013 at 12:19 PM, Wei Zhu wrote: > But I am still not sure how about the my first question regarding the > bootstrap, anyone? As I understand it, bootstrap occurs from a single replica. Which replica is chosen is based on some internal estimation of which is closest/least loaded/e

Re: General question regarding bootstrap and nodetool repair

2013-01-31 Thread Wei Zhu
I decided to dig in to the source code, looks like in the case of nodetool repair, if the current node sees the difference between the remote nodes based on the merkle tree calculation, it will start a streamrepair session to ask the remote nodes to stream data between  each other.  But I am st