Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-125

Standalone backup server with shared store does not start if scaledown policy is defined but not enabled

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • Broker
    • None

    Description

      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:

      public void run()
        ...
               boolean scalingDown = SharedStoreSlavePolicy.getScaleDownPolicy() != null;
      ...
               if (scalingDown)
             ...
                           activeMQServer.stop();
             ...
      

      There is only check whether scale down policy was defined but not whether it's enabled/disabled.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            clebertsuconic Clebert Suconic
            mnovak Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment