You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Miroslav Novak (JIRA)" <ji...@apache.org> on 2015/06/02 10:14:17 UTC

[jira] [Resolved] (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 ]

Miroslav Novak resolved ARTEMIS-125.
------------------------------------
    Resolution: Fixed

Setting jira as resolved.

> 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)