[
https://issues.apache.org/jira/browse/ARTEMIS-2410?focusedWorklogId=272022&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-272022
]
ASF GitHub Bot logged work on ARTEMIS-2410:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 04/Jul/19 07:10
Start Date: 04/Jul/19 07:10
Worklog Time Spent: 10m
Work Description: shailendra14k commented on issue #2739: ARTEMIS-2410
max-saved-replicated-journals-size=0 throws ArrayIndexOutOfBoundsException
URL: https://github.com/apache/activemq-artemis/pull/2739#issuecomment-508367560
@michaelandrepearce I have updated the test case; testMaxZero().
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 272022)
Time Spent: 40m (was: 0.5h)
> max-saved-replicated-journals-size=0 throws ArrayIndexOutOfBoundsException
> --------------------------------------------------------------------------
>
> Key: ARTEMIS-2410
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2410
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.9.0
> Reporter: Shailendra Kumar singh
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> max-saved-replicated-journals-size=0 throws ArrayIndexOutOfBoundsException
> {code:java}
> 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]
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)