cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10012) Deadlock when session streaming is retried after exception
Date Fri, 14 Aug 2015 20:06:46 GMT

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

Mime
View raw message