cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Cameron <jus...@instaclustr.com>
Subject Re: token distribution in multi-dc
Date Wed, 03 May 2017 00:45:07 GMT
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:07 vasu gunja <vasu.nosql@gmail.com> wrote:

> I'm confused now. please someone confirm with proof.
>
> On Tue, May 2, 2017 at 4:54 PM, vasu gunja <vasu.nosql@gmail.com> 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 <justin@instaclustr.com>
>> wrote:
>>
>>> Hi Vasu,
>>>
>>> Each DC has a complete token range.
>>>
>>> Cheers,
>>> Justin
>>>
>>> On Tue, 2 May 2017 at 06:32 vasu gunja <vasu.nosql@gmail.com> 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 cluster ?
>>>>
>>>> Is complete cluster has completed one token range ?
>>>> Or each DC has complete token  range?
>>>>
>>>>
>>>> --
>>>
>>>
>>> *Justin Cameron*Senior Software Engineer
>>>
>>>
>>> <https://www.instaclustr.com/>
>>>
>>>
>>> This email has been sent on behalf of Instaclustr Pty. Limited
>>> (Australia) and Instaclustr Inc (USA).
>>>
>>> This email and any attachments may contain confidential and legally
>>> privileged information.  If you are not the intended recipient, do not copy
>>> or disclose its content, but please reply to this email immediately and
>>> highlight the error to the sender and then immediately delete the message.
>>>
>>
>>
> --


*Justin Cameron*Senior Software Engineer


<https://www.instaclustr.com/>


This email has been sent on behalf of Instaclustr Pty. Limited (Australia)
and Instaclustr Inc (USA).

This email and any attachments may contain confidential and legally
privileged information.  If you are not the intended recipient, do not copy
or disclose its content, but please reply to this email immediately and
highlight the error to the sender and then immediately delete the message.

Mime
View raw message