Shalin Shekhar Mangar created SOLR-12774:
--------------------------------------------

             Summary: IndexOutOfBoundsException during recovery
                 Key: SOLR-12774
                 URL: https://issues.apache.org/jira/browse/SOLR-12774
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
            Reporter: Shalin Shekhar Mangar
             Fix For: 7.6, master (8.0)


I see the following exceptions quite often in the logs during test runs:
{code}
26006 ERROR (recoveryExecutor-21-thread-2-processing-n:127.0.0.1:34921_solr 
x:testCreateCollectionAddReplica_shard1_replica_n3 
c:testCreateCollectionAddReplica s:shard1 r:core_node4) [n:127.0.0.1:34921_solr 
c:testCreateCollectionAddReplica s:shard1 r:core_node4 
x:testCreateCollectionAddReplica_shard1_replica_n3] o.a.s.c.RecoveryStrategy 
Error getting recent versions.:java.lang.IndexOutOfBoundsException: Index: 0, 
Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:657)
        at java.util.ArrayList.get(ArrayList.java:433)
        at 
org.apache.solr.cloud.RecoveryStrategy.doSyncOrReplicateRecovery(RecoveryStrategy.java:491)
        at 
org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:310)
        at org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:294)
        at 
com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to