Miroslav Novak created ARTEMIS-125:
--------------------------------------

             Summary: 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:java}
public void run()
  ...
         boolean scalingDown = SharedStoreSlavePolicy.getScaleDownPolicy() != 
null;
...
         if (scalingDown)
       ...
                     activeMQServer.stop();
       ...
{code:java}

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)

Reply via email to