Re: token distribution in multi-dc

2017-05-03 Thread Jon Haddad
It’s important to note that whatever you find on DataStax Academy belongs to DataStax. It’s not community run, and is technically not part of this project. To correct an error there, you should get in touch with DataStax, not ask people on the Apache Cassandra ML to fix it, as we have zero con

Re: token distribution in multi-dc

2017-05-03 Thread vasu gunja
Thanks Justin. I completely agree with you point, thanks for detailed confirmation. But in datastax academy taught by Patrick. He says as each DC has complete token range. Please correct that if possible. its creating lot of confusion. *details:* https://academy.datastax.com/resources/ds201-fou

Re: token distribution in multi-dc

2017-05-02 Thread Justin Cameron
Thanks for the correction Sebastian. I guess I didn't think that through too clearly myself before replying, as I know it's not possible to have two nodes in a cluster with the same token. On Wed, 3 May 2017 at 11:03 Sebastian Estevez < sebastian.este...@datastax.com> wrote: > Hi Justin, > > > e

Re: token distribution in multi-dc

2017-05-02 Thread Sebastian Estevez
Hi Justin, > each DC will have a complete token ring This statement--and the diagram--imply that you can have multiple nodes with the same token as long as they are in seperate DCs. This isn't the case, though I understand how it is easy to fall into that trap. To help reason about this consider

Re: token distribution in multi-dc

2017-05-02 Thread Justin Cameron
That's correct - each DC will have a complete token ring. You can think of a Cassandra data center as effectively it's own self-contained "mini-cluster". See diagram below (diagram assumes RF3 in both DCs and a token range of only 0-99 for readability). [image: 2dc.png] On Wed, 3 May 2017 at 08:0

Re: token distribution in multi-dc

2017-05-02 Thread vasu gunja
I'm confused now. please someone confirm with proof. On Tue, May 2, 2017 at 4:54 PM, vasu gunja wrote: > In that case there will be duplication of tokens ranges will present > cluster right ?. > Please prove > > > On Mon, May 1, 2017 at 7:54 PM, Justin Cameron > wrote: > >> Hi Vasu, >> >> Each

Re: token distribution in multi-dc

2017-05-02 Thread vasu gunja
In that case there will be duplication of tokens ranges will present cluster right ?. Please prove On Mon, May 1, 2017 at 7:54 PM, Justin Cameron wrote: > Hi Vasu, > > Each DC has a complete token range. > > Cheers, > Justin > > On Tue, 2 May 2017 at 06:32 vasu gunja wrote: > >> Hi , >> >> I h

Re: token distribution in multi-dc

2017-05-01 Thread Justin Cameron
Hi Vasu, Each DC has a complete token range. Cheers, Justin On Tue, 2 May 2017 at 06:32 vasu gunja wrote: > Hi , > > I have a question regarding token distribution in muti-dc setup. > > We are having multi-dc (DC1+DC2) setup with V-nodes enabled. > How token ranges will be distributed in clust

token distribution in multi-dc

2017-05-01 Thread vasu gunja
Hi , I have a question regarding token distribution in muti-dc setup. We are having multi-dc (DC1+DC2) setup with V-nodes enabled. How token ranges will be distributed in cluster ? Is complete cluster has completed one token range ? Or each DC has complete token range?