SAP Knowledge Base Article - Preview

3790293 - Solr indexer job fails due to "Request says it is coming from leader, but we are the leader"

Symptom

1. Solr indexing jobs fail with an error similar to the following:

"localizedMessage":"org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from server at http://solr-4.solr.default.svc.cluster.local:8983/solr/master_xxxxx_default_shard4_replica_n43: Async exception during distributed update: Error from server at http://solr-11.solr.default.svc.cluster.local:8983/solr: null\n\n\n\nrequest: http://solr-11.solr.default.svc.cluster.local:8983/solr\nRemote error message: Request says it is coming from leader, but we are the leader"

2. No Solr restart or infrastructure resource issue (such as CPU or memory saturation) is observed when the issue occurs.


Read more...

Environment

  • Product: SAP Commerce Cloud
  • Solr Cloud

Product

SAP Commerce Cloud all versions

Keywords

solr indexer job failure, intermittent indexing failure, solrcloud, shards, replicas, replication factor, routing error, hybris indexing, two-phase index mode, direct index mode, delta index, full index, commerce cloud indexing, sequential jobs, restart failed , KBA , CEC-SCC-COM-SRC-SER , Search and Navigation , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.