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

Yuki Morishita updated CASSANDRA-4051:
--------------------------------------

    Attachment: 4051-v3.txt

v3 attached for 1.1 branch.

It basically catches IOException on both sides and lets sessions closed.
I also implemented IStreamCallback#onFailure to make sure latches count down to 
avoid process hang.
                
> Stream sessions can only fail via the FailureDetector
> -----------------------------------------------------
>
>                 Key: CASSANDRA-4051
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4051
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>              Labels: streaming
>             Fix For: 1.1.0
>
>         Attachments: 4051-v2.txt, 4051-v3.txt, 4051.txt
>
>
> If for some reason, FileStreamTask itself fails more than the number of retry 
> attempts but gossip continues to work, the stream session will never be 
> closed.  This is unlikely to happen in practice since it requires blocking 
> the storage port from new connections but keeping the existing ones, however 
> for the bulk loader this is especially problematic since it doesn't have 
> access to a failure detector and thus no way of knowing if a session failed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to