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

ASF subversion and git services commented on QPID-8407:
-------------------------------------------------------

Commit 17640005301ee061bd962a24c35a107f89b49704 in qpid-broker-j's branch 
refs/heads/7.1.x from Alex Rudyy
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=1764000 ]

QPID-8407: [Broker-J] Fix test

(cherry picked from commit f39588d3df938412ba736f560beb71ebd22cb2c6)


> [Broker-J][BDB HA] Asynchronous message store recoverer can fail to recover 
> messages on switching the master node
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-8407
>                 URL: https://issues.apache.org/jira/browse/QPID-8407
>             Project: Qpid
>          Issue Type: Bug
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-7.0.0, qpid-java-broker-7.0.1, 
> qpid-java-broker-7.1.0, qpid-java-broker-7.0.4, qpid-java-broker-7.0.5, 
> qpid-java-broker-7.0.6, qpid-java-broker-7.0.7, qpid-java-broker-7.1.1, 
> qpid-java-broker-7.1.2, qpid-java-broker-7.0.8, qpid-java-broker-7.1.3, 
> qpid-java-broker-7.1.4, qpid-java-broker-7.1.5, qpid-java-broker-7.1.6, 
> qpid-java-broker-7.1.7
>            Reporter: Alex Rudyy
>            Priority: Major
>             Fix For: qpid-java-broker-8.0.0, qpid-java-broker-7.1.8
>
>
> With asynchronous message store recovery, when mastership is changed and 
> flipped back to the previous node, the cached sequence object resumes 
> sequence id generation from the previous value (before the masteship was 
> changed). As result, the asynchronous message store recoverer fails to 
> recover the messages with IDs greater than maximum sequence range value (in 
> cached sequence object).  Such messages are not get recovered from the 
> message store.  On follow-up restart, the messages can be potentially 
> recovered, if the message id sequence is sufficiently  incremented, however,  
> the issue might result in unordered delivery and  generation of duplicate 
> message IDs.
> The synchronous message store recoverer is not effected by the issue. Thus, 
> switching to synchronous message store recovery (turned on by default) would 
> allow to work around the problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to