[
https://issues.apache.org/jira/browse/QPID-8407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17025236#comment-17025236
]
ASF subversion and git services commented on QPID-8407:
-------------------------------------------------------
Commit 32878798a32c9dc1c762ecb9f870837ff365f350 in qpid-broker-j's branch
refs/heads/master from Alex Rudyy
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=3287879 ]
QPID-8407: [Broker-J][BDB HA] Clean cached sequences and databases on BDB HA
node transition into a Master role
> [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]