Re: Nodetool ring and multiple dc

2012-02-09 Thread Ravikumar Govindarajan
Thanks David, for the clarification. I feel it would be better if nodetool ring reports per-dc token space ownerships to correctly reflect what cassandra is internally doing, instead of global token space ownership. - Ravi On Fri, Feb 10, 2012 at 12:42 PM, David Schairer wrote: > nodetool ring

Re: Nodetool ring and multiple dc

2012-02-09 Thread David Schairer
nodetool ring is, IMHO, quite confusing in the case of multiple datacenters. Might be easier to think of it as two rings: in your DC1 ring you have two nodes, and since the tokens are balanced, assuming your rows are randomly distributed you'll have half the data on each, since your replicatio

Nodetool ring and multiple dc

2012-02-09 Thread Ravikumar Govindarajan
Hi, I was trying to setup a backup DC from existing DC. State of existing DC with SimpleStrategy & rep_factor=1. ./nodetool -h localhost ring Address DC RackStatus State LoadOwns Token 85070591730234615865843651857942052864 XXX.YYYDC1