cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9238) Race condition after shutdown gossip message
Date Wed, 29 Apr 2015 21:07:07 GMT

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

Brandon Williams commented on CASSANDRA-9238:
---------------------------------------------

No such luck with CASSANDRA-8072:

{noformat}
tcp        1      0 10.208.35.225:59063     10.208.8.63:7000        CLOSE_WAIT  19965/java
{noformat}

But if v2 fixes your issue here, let's go with that instead.  Removed v1 and added v2.

> Race condition after shutdown gossip message
> --------------------------------------------
>
>                 Key: CASSANDRA-9238
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9238
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sergio Bossa
>            Assignee: Sergio Bossa
>            Priority: Minor
>             Fix For: 2.0.15, 2.1.x
>
>         Attachments: 2.0-CASSANDRA-9238-v2.txt, 2.0-CASSANDRA-9238.txt
>
>
> CASSANDRA-8336 introduced a race condition causing gossip messages to be sent to shutdown
nodes even if they have been already marked dead.
> That's because CASSANDRA-8336 changed (among other things) the way the SHUTDOWN gossip
message is sent by moving it before the gossip task (the one sending SYN messages), and by
putting a few secs wait between the two; this opens a race window by the receiving side between
the time the SHUTDOWN message is received, causing the outbound sockets to be closed, and
the moment the other side listening socket is actually closed, meaning that any SYN gossip
message exchanged in such window will reopen the sockets and never close them again, as the
node is already marked dead. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message