[jira] [Updated] (CASSANDRA-7939) checkForEndpointCollision should ignore joining nodes

2014-09-16 Thread Brandon Williams (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-7939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-7939:

Attachment: 7939-2.1.txt

Updated 2.1 patch leaves the original check in place.

> 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-2.1.txt, 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)


[jira] [Updated] (CASSANDRA-7939) checkForEndpointCollision should ignore joining nodes

2014-09-16 Thread Brandon Williams (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-7939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-7939:

Attachment: (was: 7939-2.1.txt)

> 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-2.1.txt, 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)


[jira] [Updated] (CASSANDRA-7939) checkForEndpointCollision should ignore joining nodes

2014-09-16 Thread Brandon Williams (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-7939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-7939:

Attachment: 7939-2.1.txt

Patch to check states after the shadow round.  This increases the window where 
CASSANDRA-7069 can miss slightly, since if the nodes are started very close 
together it's possible one will gossip with the seed before setting its STATUS, 
but this was always possible so this is our best effort.

> 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-2.1.txt, 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)


[jira] [Updated] (CASSANDRA-7939) checkForEndpointCollision should ignore joining nodes

2014-09-16 Thread Brandon Williams (JIRA)

 [ 
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)