cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashley Winters (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5804) AntiEntropySession fails when OutboundTcpConnection receives IOException
Date Thu, 25 Jul 2013 18:53:48 GMT

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

Ashley Winters commented on CASSANDRA-5804:
-------------------------------------------

{{
// if the message was important, such as a repair acknowledgement, put it back on the queue
// to retry after re-connecting.  See CASSANDRA-5393
if (e instanceof SocketException && qm.shouldRetry())}}

CASSANDRA-5393 was insufficient to completely fix the issue, because {{e instanceof IOException}}
should have been used, instead. Looks like a simple fix.
                
> AntiEntropySession fails when OutboundTcpConnection receives IOException
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5804
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5804
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.6
>         Environment: CentOS 6.3 x86_64
>            Reporter: Ashley Winters
>         Attachments: ioexception.txt
>
>
> When requesting merkle trees for a repair, if the OutboundTcpConnection grabbed from
the connection pool is reset (java.io.IOException: Connection reset by peer), the target node
is not marked as dead, the TREE_REQUEST is not retried, and the repair does not fail. Instead,
the repair stalls waiting for the merkle tree response which will never arrive.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message