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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 2.10.0
    • Broker
    • None

    Description

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

      2019-07-04 09:59:27,518 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation: java.lang.ArrayIndexOutOfBoundsException: 5
      	at org.apache.activemq.artemis.core.server.files.FileMoveManager.internalCheckOldFolders(FileMoveManager.java:143) [artemis-server-2.10.0-SNAPSHOT.jar:2.10.0-SNAPSHOT]
      	at org.apache.activemq.artemis.core.server.files.FileMoveManager.doMove(FileMoveManager.java:96) [artemis-server-2.10.0-SNAPSHOT.jar:2.10.0-SNAPSHOT]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.moveServerData(ActiveMQServerImpl.java:3647) [artemis-server-2.10.0-SNAPSHOT.jar:2.10.0-SNAPSHOT]
      	at org.apache.activemq.artemis.core.server.impl.SharedNothingBackupActivation.run(SharedNothingBackupActivation.java:111) [artemis-server-2.10.0-SNAPSHOT.jar:2.10.0-SNAPSHOT]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$ActivationThread.run(ActiveMQServerImpl.java:3716) [artemis-server-2.10.0-SNAPSHOT.jar:2.10.0-SNAPSHOT]
      

      This can be replicated on a master/salve set-up.
      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shailendra14k Shailendra Kumar singh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m