[ https://issues.apache.org/jira/browse/ARTEMIS-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14564262#comment-14564262 ]
ASF GitHub Bot commented on ARTEMIS-125: ---------------------------------------- Github user mnovak commented on the pull request: https://github.com/apache/activemq-artemis/pull/5#issuecomment-106701602 Did not notice that It's merged already. Thanks. > Standalone backup server with shared store does not start if scaledown policy > is defined but not enabled > -------------------------------------------------------------------------------------------------------- > > Key: ARTEMIS-125 > URL: https://issues.apache.org/jira/browse/ARTEMIS-125 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker > Affects Versions: 1.0.0 > Reporter: Miroslav Novak > Fix For: 1.1.0 > > > If standalone shared backup is configured with disabled scale-down policy > then after failover backup stop itself. > Debugging showed that server.stop() is called in > org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation in > line 102: > {code} > public void run() > ... > boolean scalingDown = SharedStoreSlavePolicy.getScaleDownPolicy() != > null; > ... > if (scalingDown) > ... > activeMQServer.stop(); > ... > {code} > There is only check whether scale down policy was defined but not whether > it's enabled/disabled. -- This message was sent by Atlassian JIRA (v6.3.4#6332)