Hi All, I’ve went through the section "Ignoring Commits from Client Applications in SolrCloud” in the solr 8.8 documentation. Our Java application is issuing a commit after indexing, so as of I understood from the document, when running in cloud mode, the applications should not explicitly send a commit request. So as mentioned in the doc, I’ve updated the solrconfig.xml with the updateRequestProcessorChain with the class IgnoreCommitOptimizeUpdateProcessorFactory. After doing this, I’ve not seen the Async exception during distributed update error yet for the past 30 minutes.
So my doubt now is, Do we need to do any changes or wire anything for the optimisation and commit to be carried out effectively, as we are ignoring commit here or does solr internally will handle it. Our auto commit maxtime is 60000 and Opensearcher - false Auto soft commit maxtime : 180000 . Please let us know if any changes are required in the config. Thanks Reej > On 22 Aug 2021, at 7:10 PM, Reej Nayagam <reej...@gmail.com> wrote: > > Hi All, > We are getting a distributed update async exception during indexing. Solr > version v8.8.2 and we are using cloudsolrclient and passing 3 zk ip’s for > connecting. This indexing happens every 15 mins and at times the entire > indexing is getting wiped out with data being pulled from the DB. > > Earlier we are using v4.10 and for indexing we used find the leader URL and > connect for indexing and we didn’t have any issues with it. > > We need to push this new solr version 8.8.2 to prod and this issue is holding > us back > > Please advise or help if there is any workaround. > > > Full Import > failed:org.apache.solr.update.processor.DistributedUpdateProcessor$DistributedUpdatesAsyncException: > Async exception during distributed update: Error from server at > https://192.168.3.153:3883/solr/PUBLIC_shard1_replica_n1/ > <https://192.168.3.153:3883/solr/PUBLIC_shard1_replica_n1/>: Server Error > request: https://192.168.3.153:3883/solr/PUBLIC_shard1_replica_n1/ > <https://192.168.3.153:3883/solr/PUBLIC_shard1_replica_n1/> > Remote error message: Task queue processing has stalled for 20217 ms with 0 > remaining elements to process. > at > org.apache.solr.update.processor.DistributedZkUpdateProcessor.doDistribFinish(DistributedZkUpdateProcessor.java:1193) > at > org.apache.solr.update.processor.DistributedUpdateProcessor.finish(DistributedUpdateProcessor.java:1102) > at org.apache.solr.handler.dataimport.SolrWriter.close(SolrWriter.java:61) > at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:282) > at > org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:427) > at > org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:486) > at > org.apache.solr.handler.dataimport.DataImporter.lambda$runAsync$0(DataImporter.java:469) > at java.lang.Thread.run(Thread.java:748) > > -- > Thanks, > Reej