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

Zhao Yang commented on CASSANDRA-15892:
---------------------------------------

bq. That will make node 2 receive a Stream Failed message back. If that message 
is processed and the event-loop thread tries to close the network channel while 
the writer thread is Parked waiting for the stream to complete, there will be a 
deadlock.

[~gianluca] thanks for the fix. can you explain a bit more here? node2 receives 
{{SESSION_FAILED}} and then closes its channels. how does {{"writer thread"}} 
get blocked?  I can't think of why {{messageSender.close()}} causes  blocking..

> JAVA 8/11: test_resumable_rebuild - rebuild_test.TestRebuild
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-15892
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15892
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/python
>            Reporter: Ekaterina Dimitrova
>            Assignee: Gianluca Righetto
>            Priority: Normal
>             Fix For: 4.0-rc
>
>         Attachments: CASSANDRA-15892-07babf3c-node2-deadlock-thread-dump.txt, 
> Screenshot 2021-03-23 at 19.37.35.png, Screenshot 2021-03-23 at 19.53.51.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> JAVA 11:
> test_resumable_rebuild - rebuild_test.TestRebuild
> Fails locally and in  
> [CircleCI | 
> [https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/222/workflows/11202c7e-6c94-4d4e-bbbf-9e2fa9791ad0/jobs/1338]]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to