activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "clebert suconic (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ARTEMIS-125) Standalone backup server with shared store does not start if scaledown policy is defined but not enabled
Date Fri, 12 Jun 2015 02:22:00 GMT

     [ https://issues.apache.org/jira/browse/ARTEMIS-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

clebert suconic closed ARTEMIS-125.
-----------------------------------

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

Mime
View raw message