[
https://issues.jboss.org/browse/WFLY-6589?page=com.atlassian.jira.plugin....
]
Miroslav Novak moved JBEAP-4538 to WFLY-6589:
---------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-6589 (was: JBEAP-4538)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JMS
(was: JMS)
(was: ActiveMQ)
Target Release: (was: 7.backlog.GA)
Affects Version/s: 10.0.0.Final
(was: 7.0.0.ER7)
Add attribute to model which will indicate that backup is
synchronized with live server
----------------------------------------------------------------------------------------
Key: WFLY-6589
URL:
https://issues.jboss.org/browse/WFLY-6589
Project: WildFly
Issue Type: Feature Request
Components: JMS
Affects Versions: 10.0.0.Final
Reporter: Miroslav Novak
Assignee: Jeff Mesnil
Priority: Critical
If HA is configured with replicated journal then it takes some time to backup to
synchronize with live server. Once backup is in sync with live then following information
appears in server.log:
{code}
13:20:00,739 INFO [org.apache.activemq.artemis.core.server] (Thread-3
(ActiveMQ-client-netty-threads-457000966)) AMQ221024: Backup server
ActiveMQServerImpl::serverUUID=bc015b34-fd73-11e5-80ca-1b35f669abb8 is synchronized with
live-server.
13:20:01,500 INFO [org.apache.activemq.artemis.core.server] (Thread-2
(ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$2@41f992ab-83559664))
AMQ221031: backup announced
{code}
Reading server logs to see whether backup is in sync is not convinient and user friendly
way. Could we add this information to model so it can be detected through CLI command?
New attribute with name {{synchronized-with-live}} should be added to
{{/subsystem=messaging-activemq/server=default/ha-policy=replication-slave}}
This information can be gathered by calling:
{{SharedNothingBackupActivation.isRemoteBackupUpToDate()}}
Additionally we should provide this attribute also in replicated live server in:
{{/subsystem=messaging-activemq/server=default/ha-policy=replication-master}} as
Administrator might want to know whether live can be shutdown.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)