incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Evans <eev...@acunu.com>
Subject Re: Clarification on num_tokens setting
Date Tue, 05 Feb 2013 23:21:05 GMT
On Tue, Feb 5, 2013 at 4:19 PM, aaron morton <aaron@thelastpickle.com> wrote:
>> There is always num_tokens tokens in the ring.
>>
>>
> I got this wrong.
> Each node *does* have num_tokens tokens.
>
>>  With N nodes, the ring is divided into N*num_tokens. Correct?
>
> Yes
>
> In other words it is cluster wide parameter. Correct?
>
> Yes.

Actually, num_tokens is a per node setting.  It might make sense for
example to assign different numbers of tokens in a cluster with
heterogeneous hardware, but I would urge caution as there is currently
no way post facto way to increase or decrease a nodes token count.


--
Eric Evans
Acunu | http://www.acunu.com | @acunu

Mime
View raw message