Re: question about bootstrapping sequence

2015-07-28 Thread Yang
thanks. hmmm somehow I had the impression that untill B's streamingIn finished it does not adverise itself to other servers for receiving fresh replications. looks I'm wrong here, ler me check the code.. On Jul 28, 2015 2:07 PM, "Robert Coli" wrote: > On Tue, Jul 28, 2015 at 1:01 PM, Yang wr

Re: question about bootstrapping sequence

2015-07-28 Thread Robert Coli
On Tue, Jul 28, 2015 at 1:01 PM, Yang wrote: > Thanks. but I don't think having more nodes in the example changes the > issue I outlined. > > say u have just key "X", rf = 3, nodes A, B, D are responsible for "X". > > in stable mode, the updates X=1, 2, 3, goes to all 3 servers. > > then at thi

Re: question about bootstrapping sequence

2015-07-28 Thread Yang
Thanks. but I don't think having more nodes in the example changes the issue I outlined. say u have just key "X", rf = 3, nodes A, B, D are responsible for "X". in stable mode, the updates X=1, 2, 3, goes to all 3 servers. then at this time, node C joins, bootstraps, gets the sstables from B.

Re: question about bootstrapping sequence

2015-07-28 Thread Robert Coli
On Tue, Jul 28, 2015 at 1:31 AM, Yang wrote: > I'm wondering how the Cassandra protocol brings a newly bootstrapped node > "up to speed". > Bootstrapping nodes get "extra" replicated copies of data for the range they are joining. So if before the bootstrap the nodes responsible for Key "X" are

Re: question about bootstrapping sequence

2015-07-28 Thread Yang
I'm wondering how the Cassandra protocol brings a newly bootstrapped node "up to speed". for ease of illustration, let's say we just have one key, K, and the value is continually updated: 1,2 ,3 ,4 originally we have 1 node, A, now node B joins, and needs to bootstrap and get its newly assig

Re: Question about bootstrapping

2010-10-13 Thread aaron morton
AFAIK it uses the value returned via nodetool ring or info, which is also the load reported against the StorageService in JMX. This is the sum of the live disk space used for each CF. The best approach though is to manually assign the tokens to your nodes, and bring the nodes up with auto b

Question about bootstrapping

2010-10-13 Thread Maxim Grinev
What parameters does Cassandra analyze to pick the most-loaded node to determine the position for a new node during bootstrapping? I would like to understand the exact parameters, not just an idea. Are this parameters available via the monitoring API ( http://www.riptano.com/docs/0.6.5/operations/