You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2014/03/03 20:16:21 UTC
[jira] [Resolved] (QPID-5571) [Java Broker] [AMQP 1.0] Broker can
deadlock if a consumer is closed while it is sending messages
[ https://issues.apache.org/jira/browse/QPID-5571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Godfrey resolved QPID-5571.
-------------------------------
Resolution: Fixed
> [Java Broker] [AMQP 1.0] Broker can deadlock if a consumer is closed while it is sending messages
> -------------------------------------------------------------------------------------------------
>
> Key: QPID-5571
> URL: https://issues.apache.org/jira/browse/QPID-5571
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.26
> Reporter: Rob Godfrey
> Assignee: Rob Godfrey
> Fix For: 0.27
>
>
> The I/O thread first takes the endpoint lock and then gets the consumer lock, the queue runner thread takes the consumer lock and then tries to get the endpoint lock.
> By modifying the I/O thread to release the endpoint lock if it cannot get the consumer lock we can avoid the deadlock.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org