qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aidan Skinner (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-1332) Opening a queue browser on a consumer when it's prefetch buffer has been filled causes a deadlock.
Date Thu, 09 Oct 2008 14:08:44 GMT

    [ https://issues.apache.org/jira/browse/QPID-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638289#action_12638289
] 

Aidan Skinner commented on QPID-1332:
-------------------------------------

The message arrival blocks on the synchronousQueue when it puts the message on if it's full
while holding the _lock. The QueueBrowser attempts to get _lock while it's being created,
if the synchronousQueue is full it won't get created, if it's not created then the syncQueue
won't empty so it won't unblock. 

Fun for all the family. 

> Opening a queue browser on a consumer when it's prefetch buffer has been filled causes
a deadlock. 
> ---------------------------------------------------------------------------------------------------
>
>                 Key: QPID-1332
>                 URL: https://issues.apache.org/jira/browse/QPID-1332
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>             Fix For: M4
>
>
> If a consumer is opened and there are more messages being delivered to it than it's prefetch
capacity opening a browser on it will cause hang until a message has been consumed from it.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message