cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Schuller (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-2447) Remove auto-bootstrap option
Date Thu, 14 Apr 2011 17:53:06 GMT


Peter Schuller commented on CASSANDRA-2447:

While I think the auto_bootstrap token is probably very confusing to users, and simply not
exposing it by default is a good idea, I don't think the ability to join the cluster without
bootstrapping should be removed entirely.

An example use case of joining the ring without bootstrap is: You have a multi-DC cluster
and need to bootstrap new nodes into a DC, but you want to avoid streaming from other DC:s.
Provided you know what you're doing and are willing to accept the consequences in terms of
consistency, you can do stuff like copy sstables from local nodes manually and bring the node
into the ring and trigger AES. Similarly for adding a completely new DC to an existing cluster.

I have a vague feeling that it's generally useful in various "panicy" types of situations
where you want to bypass the normal procedures.

Maybe just make the default true always and remove it form the default configuration; or maybe
even rename it and revert it's meaning, to something like force_join_without_bootstrap?

> Remove auto-bootstrap option
> ----------------------------
>                 Key: CASSANDRA-2447
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0
> We already optimize auto-bootstrap to be no-op if there are no non-system tables.
> Given that, the only penalty imposed by autobootstrap is a 30s sleep waiting for gossip.
 Feels worth it to avoid the confusion this option causes, and the problems if you don't turn
it on when it should be.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message