[
https://issues.apache.org/jira/browse/QPID-6541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14543729#comment-14543729
]
Rob Godfrey commented on QPID-6541:
-----------------------------------
I agree with your assessment.
I've made what I think is an equivalent change which also has the benefit of
removing a few more lines of code (by reversing the sense of the boolean) -
does that look OK to you?
> [Java Broker] In rare cases it is possible for newly arrived messages to be
> enqueued ahead of recovering messages in asynchronous recovery
> ------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-6541
> URL: https://issues.apache.org/jira/browse/QPID-6541
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Reporter: Rob Godfrey
> Assignee: Lorenz Quack
> Fix For: 6.0 [Java]
>
> Attachments: 0001-QPID-6541-improvement.patch
>
>
> There is a possibility that a message is enqueued just as recovery is
> completing leading to an out of order enqueue. This can be prevented by
> being more careful about checking state while moving from "recovering" to
> "recovered"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]