incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <rc...@eventbrite.com>
Subject Re: Having 2 nodes with 100% Ownership ?
Date Mon, 12 Aug 2013 23:22:27 GMT
On Mon, Aug 12, 2013 at 4:19 PM, Morgan Segalis <msegalis@gmail.com> wrote:

> It is still a little fuzzy when it comes to calculate a token for 50%
> distribution… How do I do that, it is not like I wanted to have 10,23% on
> one node, and 89,77% and the other ;-)
>

The "feature" which picks a random token and results in distributions like
this has been removed from upstream.


> for 2 nodes it tells me to put 85070591730234615865843651857942052864 on
> the second node. (For 2 node calculation) and the first one at 0.
>
> How come I can get 50% on both nodes if all data are replicated ?
>

Briefly, you will get effective ownership = 100% if you up the RF so that
it = N.

Two nodes, each of which own 50% of the "token range", but with a RF=2
means "ownership" is 50%, but "effective ownership" is 100%.

=Rob

Mime
View raw message