[
https://issues.apache.org/jira/browse/BOOKKEEPER-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Kelly updated BOOKKEEPER-485:
----------------------------------
Attachment: 0001-BOOKKEEPER-485-Fix-race-between-PerChannelBookieClie.patch
Fix is simple. Set the channel state to disconnected on close. If, on
connection completion, the callback sees the state is in disconnected (rather
than connecting), close the channel, and abort ops. The test case will
successfully repro the issue if run without the fix, but the whole thing hangs
due to releaseExternalResources being completely uninterruptible.
> TestFencing hung
> ----------------
>
> Key: BOOKKEEPER-485
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-485
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Flavio Junqueira
> Priority: Critical
> Fix For: 4.2.0
>
> Attachments:
> 0001-BOOKKEEPER-485-Fix-race-between-PerChannelBookieClie.patch,
> stack-trace-hung.txt
>
>
> ... while testing BOOKKEEPER-477, but I think they are unrelated.
--
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