Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Solr collection Replica down

avatar
Expert Contributor

Hi,

    Please help us it is very critical issue we are facing one of the collection replica are down.

 

   When we looked into the log Trace we found below error.

 

 

WARN org.apache.solr.update.UpdateLog: Log replay finished. recoveryInfo=RecoveryInfo{adds=0 deletes=0 deleteByQuery=0 errors=1 positionOfStart=3411522}
DEBUG org.apache.solr.cloud.RecoveryStrategy: eeeeee:8983_solr replayed 4910970
INFO org.apache.solr.cloud.RecoveryStrategy: Replication Recovery was successful. core=xxxxxx_collection_shard1_replica1
INFO org.apache.solr.cloud.ZkController: publishing core=xxxxx_collection_shard1_replica1 state=active collection=xxxx_collection
DEBUG org.apache.zookeeper.ClientCnxn: Reading reply sessionid:0x15fda16a22c5a7d, packet:: clientPath:null serverPath:null finished:false header:: 18701,4 replyHeader:: 18701,343598899621,0 request:: '/solr/collections/xxxxx_collection/leader_initiated_recovery/shard1/core_node1,F response:: #7ba2020227374617465223a22646f776e222ca2020226372656174656442794e6f64654e616d65223a22626463656430362e73672e6762732e70726f3a383938335f736f6c72227d,s{343598889249,343598899525,1513852552137,1513855791909,45,0,0,0,73,0,343598889249}
ERROR org.apache.solr.cloud.RecoveryStrategy: Could not publish as ACTIVE after succesful recovery
org.apache.solr.common.SolrException: Cannot publish state of core 'xxxx_collection_shard1_replica1' as active without recovering first!
at org.apache.solr.cloud.ZkController.publish(ZkController.java:1093)
at org.apache.solr.cloud.ZkController.publish(ZkController.java:1056)
at org.apache.solr.cloud.ZkController.publish(ZkController.java:1052)
at org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:496)
at org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:237)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
ERROR org.apache.solr.cloud.RecoveryStrategy: Recovery failed

1 REPLY 1

avatar
Expert Contributor

Planning to restart the cluster to make a down replica to become active. is that right approach. 

 

anyone can help me on this issue.