cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radim Kolar <>
Subject Re: adding node without bootstrap
Date Sun, 25 Sep 2011 06:35:20 GMT

> If you join a node with auto_bootstrap=false you had better be working 
> at quorum or higher to avoid stale/not found reads. You should then 
> repair the node right away to get all the missing data back on the 
> node. This is not suggested. It is best to leave auto_boostrap=true 
> and let Cassandra handle this on the front end.
This do not works. I joined ring with node without bootstrap and result 
is like this:    datacenter1 rack1       Up     Normal  1.17 GB         
99.64%  83030609119105147711596238577753588267     datacenter1 rack1       Up     Normal  43.15 KB        
0.36%   83648735508289295779178617154261005054

Well, this was expected. But running repair on both nodes didnt do anything:

  INFO [GossipStage:1] 2011-09-25 08:18:34,287 (line 715) 
Node / is now part of the cluster
  INFO [GossipStage:1] 2011-09-25 08:18:34,287 (line 681) 
InetAddress / is now UP
  INFO [AntiEntropySessions:1] 2011-09-25 08:22:16,066 (line 648) No neighbors to repair with for test 
manual-repair-04dd27f0-401b-4452-b0eb-853beeda197b completed.

Data are not moved to new node. Maybe tokens are not too random. I 
deleted new node and retried:     datacenter1 rack1       Up     Normal  45.52 KB        
56.94%  9762979552315026283322466206354139578    datacenter1 rack1       Up     Normal  1.17 GB         
43.06%  83030609119105147711596238577753588267

and still nothing, while running repair on both nodes.

  INFO [AntiEntropySessions:1] 2011-09-25 08:29:13,447 (line 648) No neighbors to repair with for test 
manual-repair-87bfcc67-2b99-4285-8571-e5bd168ef5e0 completed.

Can you try this too? i cant get scenario: make 1 node - add data, add 
second node without bootstrap then repair on both work.

View raw message