You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (Jira)" <ji...@apache.org> on 2020/02/05 17:37:00 UTC

[jira] [Resolved] (QPID-8407) [Broker-J][BDB HA] Asynchronous message store recoverer can fail to recover messages on switching the master node

     [ https://issues.apache.org/jira/browse/QPID-8407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy resolved QPID-8407.
------------------------------
    Resolution: Fixed

> [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
>            Assignee: 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org