I'm using 4.10.2 in a 3 node solr cloud setup
I have a collection with 3 shards and 2 replicas each.
I'm ingesting solr documents via solrj.

While ingesting the documents, I get the following error:

264147944 [updateExecutor-1-thread-268] ERROR 
org.apache.solr.update.StreamingSolrServers  ? error 
org.apache.solr.common.SolrException: Bad Request

request: 
http://10.222.238.35:8983/solr/serviceorder_shard1_replica2/update?update.distrib=TOLEADER&distrib.from=http%3A%2F%2F10.222.238.36%3A8983%2Fsolr%2Fserviceorder_shard2_replica1%2F&wt=javabin&version=2
        at 
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner.run(ConcurrentUpdateSolrServer.java:241)
        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)

I commit after every 100 documents in solrj.
And I also have the following solrconfig.xml setting:
     <autoCommit>
       <maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
       <openSearcher>false</openSearcher>
     </autoCommit>


IMO, tlogs (for serviceorder_shard1_replica2) are not too big
-rw-r--r-- 1 solr users  8338 Jul 11 21:40 tlog.0000000000000000364
-rw-r--r-- 1 solr users  6385 Jul 11 21:40 tlog.0000000000000000365
-rw-r--r-- 1 solr users 10221 Jul 11 21:41 tlog.0000000000000000366
-rw-r--r-- 1 solr users  5981 Jul 11 21:41 tlog.0000000000000000367
-rw-r--r-- 1 solr users  2682 Jul 11 21:41 tlog.0000000000000000368
-rw-r--r-- 1 solr users  8515 Jul 11 21:42 tlog.0000000000000000369
-rw-r--r-- 1 solr users  7373 Jul 11 21:42 tlog.0000000000000000370
-rw-r--r-- 1 solr users  6907 Jul 11 21:42 tlog.0000000000000000371
-rw-r--r-- 1 solr users  5524 Jul 11 21:42 tlog.0000000000000000372
-rw-r--r-- 1 solr users  5600 Jul 11 21:43 tlog.0000000000000000373


So far I've not been able to resolve this issue. Any ideas / pointers would be 
greatly appreciated!

Thanks,
Magesh

Reply via email to