[
https://issues.apache.org/jira/browse/ARTEMIS-4707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram closed ARTEMIS-4707.
-----------------------------------
Resolution: Invalid
This is actually moot because the broker nullifies the instance of
{{ReplicationManager}} once the replication connection fails so there's no
chance for the internal state to be updated.
> Synchronizing status of ReplicationManager not up-to-date
> ---------------------------------------------------------
>
> Key: ARTEMIS-4707
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4707
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
>
> A primary broker using replication for HA may connect and disconnect from a
> backup lots of times during its life-span. The {{boolean}} returned by
> {{org.apache.activemq.artemis.core.replication.ReplicationManager#isSynchronizing}}
> is never reset to account for this. Once the primary synchronizes *once*
> with a backup the returned {{boolean}} will always be {{{}false{}}}.
> Furthermore, it is always {{true}} once the replication manager is created -
> even before it is started and actually enters into the synchronization phase.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)