Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2640

max-saved-replicated-journals-size=0 throws ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • AMQ 7.4.1.GA
    • AMQ 7.3.0.GA
    • broker-core
    • None
    • +
    • Hide
      Previously, if you changed the value of the `max-saved-replicated-journals-size` parameter of a slave broker in a master-slave pair to `0` (the default value is `2`), the slave broker showed an exception during startup and failed to act as a backup server. This issue is now resolved.
      Show
      Previously, if you changed the value of the `max-saved-replicated-journals-size` parameter of a slave broker in a master-slave pair to `0` (the default value is `2`), the slave broker showed an exception during startup and failed to act as a backup server. This issue is now resolved.
    • Verified in a release
    • Hide

      1. Start master/slave with the default configuration.
      2. Failback multiple time in order to create oldreplica folder.
      3. max-saved-replicated-journals-size=0
      4. Restart slave broker.

      Show
      1. Start master/slave with the default configuration. 2. Failback multiple time in order to create oldreplica folder. 3. max-saved-replicated-journals-size=0 4. Restart slave broker.

      max-saved-replicated-journals-size=0 throws ArrayIndexOutOfBoundsException

      2019-07-04 10:04:14,639 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation: java.lang.ArrayIndexOutOfBoundsException: 2
      	at org.apache.activemq.artemis.core.server.files.FileMoveManager.internalCheckOldFolders(FileMoveManager.java:143) [artemis-server-2.7.0.redhat-00056.jar:2.7.0.redhat-00056]
      	at org.apache.activemq.artemis.core.server.files.FileMoveManager.doMove(FileMoveManager.java:96) [artemis-server-2.7.0.redhat-00056.jar:2.7.0.redhat-00056]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.moveServerData(ActiveMQServerImpl.java:3494) [artemis-server-2.7.0.redhat-00056.jar:2.7.0.redhat-00056]
      	at org.apache.activemq.artemis.core.server.impl.SharedNothingBackupActivation.run(SharedNothingBackupActivation.java:111) [artemis-server-2.7.0.redhat-00056.jar:2.7.0.redhat-00056]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$ActivationThread.run(ActiveMQServerImpl.java:3563) [artemis-server-2.7.0.redhat-00056.jar:2.7.0.redhat-00056]
      

              rhn-support-shsingh Shailendra Singh
              rhn-support-shsingh Shailendra Singh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: