-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.2.0.GA
-
None
-
- tested on AMQ 7.2 HF 3
-
1
-
Release Notes
-
-
+
-
Previously, if you configured a slave broker to use a shared store and scaledown in a cluster, you could encounter an exception on the slave if the master broker went offline. This issue is resolved.
-
Documented as Resolved Issue
-
Verified in a release
-
Using the following configuration on the slave where server1-connector points to another
broker in the broker cluster.
<ha-policy>
<shared-store>
<slave>
<failover-on-shutdown>true</failover-on-shutdown>
<restart-backup>true</restart-backup>
<scale-down>
<connectors>
<connector-ref>server1-connector</connector-ref>
</connectors>
</scale-down>
</slave>
</shared-store>
</ha-policy>
I am getting the following NullPointerException when the slave tries to activate.
2018-09-03 20:45:12,970 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation: java.lang.NullPointerException at org.apache.activemq.artemis.core.server.impl.BackupRecoveryJournalLoader.postLoad(BackupRecoveryJournalLoader.java:90) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadMessageJournal(AbstractJournalStorageManager.java:1191) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:2621) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:2376) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation.run(SharedStoreBackupActivation.java:90) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$ActivationThread.run(ActiveMQServerImpl.java:3127) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008]
- clones
-
ENTMQBR-1942 [AMQ 7.2, shared store, scale down] NullPointer exception when slave activates and tries to scale down
-
- Closed
-