incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Clarification on Ring operations in Cassandra 0.5.1
Date Fri, 23 Apr 2010 14:53:38 GMT
On Wed, Apr 21, 2010 at 1:48 PM, Anthony Molinaro
<anthonym@alumni.caltech.edu> wrote:
> So why is Token - 1 better?  Doesn't that result in more data movement
> than PreviousTokenInRing + 1?

No, because a node is responsible for (previous token, own token].  So
if you introduce token T-1 before token T then the only keys the old
node will be responsible for would be one corresponding exactly to T.

>> You could use scp-then-repair if you can tolerate slightly out of date
>> data being served by the new machine until the repair finishes.
>
> So with scp-then-repair, what would my config look like?  Would I specify
> the InitialToken as the same as the old token, but have AutoBootstrap
> set to false?

Right.

Mime
View raw message