In an ActiveMQ Artemis HA cluster (v2.13.0), the HA policy’s <scale-down/>
property causes the backup broker to move all pending messages to one of the remaining live instances if the master instance fails. Once drained, the slave broker stops itself and waits for the master instance to go live again. This behavior effectively reduces the number of broker pairs in a cluster, even if just one master broker fails. Right?
When the <scale-down/>
property is not set, the slave broker becomes live on master failure, and the number of live brokers in a cluster does not change. However, I am wondering if a live backup instance still moves pending messages to other brokers if shutdown intentionally (i.e., SIGTERM
). This behavior would preserve all messages in case of intentional broker shutdown while keeping the number of live brokers in case of failures.