You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2015/06/12 04:22:00 UTC
[jira] [Updated] (ARTEMIS-125) Standalone backup server with shared
store does not start if scaledown policy is defined but not enabled
[ https://issues.apache.org/jira/browse/ARTEMIS-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
clebert suconic updated ARTEMIS-125:
------------------------------------
Fix Version/s: (was: 1.1.0)
1.0.0
Assignee: clebert suconic
done by Miroslav
> 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
> Assignee: clebert suconic
> Fix For: 1.0.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)