cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulo Motta <pauloricard...@gmail.com>
Subject Re: auto_bootstrap=false broken?
Date Tue, 04 Aug 2015 12:24:56 GMT
Hello Christian,

You may use the start-up parameter -Dcassandra.join_ring=false if you don't
want the node to join the ring on startup. More about this parameter here:
http://docs.datastax.com/en/cassandra/2.0/cassandra/tools/toolsCUtility_t.html

You can later join the ring via nodetool join command:
http://docs.datastax.com/en/cassandra/2.0/cassandra/tools/toolsJoin.html

auto_bootstrap=false is typically used to bootstrap new datacenters or
clusters, or nodes with data already on it before starting the process.

Cheers,

Paulo

2015-08-04 8:50 GMT-03:00 horschi <horschi@gmail.com>:

> Hi everyone,
>
> I'll just ask my question as provocative as possible ;-)
>
> Isnt't auto_bootstrap=false broken the way it is currently implemented?
>
> What currently happens:
> New node starts with auto_bootstrap=false and it starts serving reads
> immediately without having any data.
>
> Would the following be more correct:
> - New node should stay in a joining state
> - Operator loads data (e.g. using nodetool rebuild or putting in backupped
> files or whatever)
> - Operator has to manually switch from joining into normal state using
> nodetool (only then it will start serving reads)
>
> Wouldn't this behaviour more consistent?
>
> kind regards,
> Christian
>

Mime
View raw message