You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2014/09/16 20:21:34 UTC
[jira] [Updated] (CASSANDRA-7939) checkForEndpointCollision should
ignore joining nodes
[ https://issues.apache.org/jira/browse/CASSANDRA-7939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-7939:
----------------------------------------
Attachment: 7939.txt
A simple enough fix for 2.0. Unfortunately for 2.1, bypassing this problem causes a new one for CASSANDRA-7069, since we can begin bootstrapping before we've seen the entire ring. I think we'll have to check STATUS for each node in cFEC and bail if we see JOINING or LEAVING, since tMD won't be populated from the shadow round.
> checkForEndpointCollision should ignore joining nodes
> -----------------------------------------------------
>
> Key: CASSANDRA-7939
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7939
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Brandon Williams
> Assignee: Brandon Williams
> Priority: Minor
> Fix For: 2.0.11, 2.1.1
>
> Attachments: 7939.txt
>
>
> If you fail a bootstrap, then immediately retry it, cFEC erroneously tells you to replace it:
> {noformat}
> ERROR 00:04:50 Exception encountered during startup
> java.lang.RuntimeException: A node with address bw-3/10.208.8.63 already exists, cancelling join. Use cassandra.replace_address if you want to replace this node.
> at org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:453) ~[main/:na]
> at org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:666) ~[main/:na]
> at org.apache.cassandra.service.StorageService.initServer(StorageService.java:614) ~[main/:na]
> at org.apache.cassandra.service.StorageService.initServer(StorageService.java:507) ~[main/:na]
> at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:338) [main/:na]
> at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:457) [main/:na]
> at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:546) [main/:na]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)