[
https://issues.apache.org/jira/browse/QPID-4786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644507#comment-13644507
]
Gordon Sim commented on QPID-4786:
----------------------------------
Patch available for review: https://reviews.apache.org/r/10839/
> Delayed response for concurrent fetches
> ---------------------------------------
>
> Key: QPID-4786
> URL: https://issues.apache.org/jira/browse/QPID-4786
> Project: Qpid
> Issue Type: Bug
> Components: C++ Client
> Affects Versions: 0.22
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Fix For: 0.23
>
>
> Where a session has two concurrent fetch() (or indeed get()) operations in
> progress, one of them may be delayed up to the timeout even if there is in
> fact a message much earlier than that.
> This is due to the design whereby the threads pop off the next message from a
> session queue, and put it into a received buffer if its not one they are
> interested in. The wrong thread can get the message, and the other thread
> remains waiting for another one before re-checking the received buffer (which
> now has a message that matches its interest).
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]