You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org> on 2008/10/08 17:57:44 UTC

[jira] Created: (QPID-1332) Opening a queue browser on a consumer when it's prefetch buffer has been filled causes a deadlock.

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.


[jira] Commented: (QPID-1332) Opening a queue browser on a consumer when it's prefetch buffer has been filled causes a deadlock.

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
    [ 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.


[jira] Updated: (QPID-1332) Opening a queue browser on a consumer when it's prefetch buffer has been filled causes a deadlock.

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-1332:
-----------------------------------

    Fix Version/s:     (was: M4)

Descoping items not being worked on for M4 into Unknown Fix Version for now

> 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
>
> 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.