cassandra-commits mailing list archives

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

    [ https://issues.apache.org/jira/browse/CASSANDRA-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019944#comment-13019944
] 

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: https://issues.apache.org/jira/browse/CASSANDRA-2447
>             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: http://www.atlassian.com/software/jira

Mime
View raw message