You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Sai (JIRA)" <ji...@apache.org> on 2014/10/17 02:44:33 UTC
[jira] [Commented] (AMQ-5396) Linkstealing causes deadlock when old
client disconnects before link stealing adds the connection
[ https://issues.apache.org/jira/browse/AMQ-5396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14174543#comment-14174543 ]
Sai commented on AMQ-5396:
--------------------------
attached the jstack which shows the deadlock
> Linkstealing causes deadlock when old client disconnects before link stealing adds the connection
> -------------------------------------------------------------------------------------------------
>
> Key: AMQ-5396
> URL: https://issues.apache.org/jira/browse/AMQ-5396
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.11.0
> Reporter: Sai
> Attachments: jstack.txt, linkstealing-deadlock.patch
>
>
> During link stealing in progress if the old client(or connection) issues a disconnect can cause a deadlock due the order in which the locks are obtained on RegionBroker.addConnection and TransportConnection.processRemoveConneciton.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)