You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2015/08/14 22:06:46 UTC

[jira] [Commented] (CASSANDRA-10012) Deadlock when session streaming is retried after exception

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

Yuki Morishita commented on CASSANDRA-10012:
--------------------------------------------

Thanks for the patch!
I fixed some coding style and added test: https://github.com/yukim/cassandra/tree/10012

Also, CompressedInputStream may block when exception is thrown from reading source stream.
I added fix to that in above.

tests are running here: http://cassci.datastax.com/view/Dev/view/yukim/job/yukim-10012-testall/ and http://cassci.datastax.com/view/Dev/view/yukim/job/yukim-10012-dtest/

> Deadlock when session streaming is retried after exception
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-10012
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10012
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Chris Moos
>             Fix For: 2.2.x
>
>         Attachments: CASSANDRA-10012.patch
>
>
> This patch ensures that the CompressedInputStream thread is cleaned up properly (for example, if an Exception occurs and a session stream is retried).



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