[
https://issues.apache.org/jira/browse/CASSANDRA-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424563#comment-13424563
]
Brandon Williams commented on CASSANDRA-4427:
---------------------------------------------
This doesn't quite work, because we're looking for the SCHEMA app state, which
at startup won't exist since the gossiper isn't even started yet:
{noformat}
ERROR [main] 2012-07-29 01:08:28,476 CassandraDaemon.java (line 335) Exception
encountered during startup
java.lang.NullPointerException
at
org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:527)
at
org.apache.cassandra.service.StorageService.initServer(StorageService.java:475)
at
org.apache.cassandra.service.StorageService.initServer(StorageService.java:366)
at
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:228)
at
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:318)
at
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:361)
{noformat}
> Restarting a failed bootstrap instajoins the ring
> -------------------------------------------------
>
> Key: CASSANDRA-4427
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4427
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0
> Reporter: Brandon Williams
> Assignee: Jonathan Ellis
> Fix For: 1.1.3
>
> Attachments: 4427-v2.txt, 4427-v3.txt, 4427.txt
>
>
> I think when we made auto_bootstrap = true the default, we broke the check
> for the bootstrap flag, creating a dangerous situation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira