[ https://issues.apache.org/jira/browse/SOLR-11685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751822#comment-17751822 ]
ASF subversion and git services commented on SOLR-11685: -------------------------------------------------------- Commit 209ba014fb80e1fcf2de89ebb131ac556dc6d802 in solr's branch refs/heads/main from David Smiley [ https://gitbox.apache.org/repos/asf?p=solr.git;h=209ba014fb8 ] SOLR-11685: use HTTP INVALID_STATE for ZK state issues in DistributedZkUpdateProcessor (#1484) When SolrCloud shard leaders change while indexing updates arrive, Solr could fail and return a HTTP 503 status. Switched to 510 so that CloudSolrClient will auto-retry it and probably succeed. > Should be retry-able: "ClusterState says we are the leader ..., but locally > we don't think so" > ---------------------------------------------------------------------------------------------- > > Key: SOLR-11685 > URL: https://issues.apache.org/jira/browse/SOLR-11685 > Project: Solr > Issue Type: Improvement > Components: SolrCloud > Reporter: Varun Thacker > Assignee: David Smiley > Priority: Major > Attachments: jenkins_7x_257.log, jenkins_master_7045.log, > solr_master_7574.log, solr_master_8983.log > > Time Spent: 1h 10m > Remaining Estimate: 0h > > When indexing to SolrCloud, an error may occur: "ClusterState says we are the > leader ..., but locally we don't think so". It's temporary and should be > retried by SolrJ. > ---- > Original title: "CollectionsAPIDistributedZkTest.testCollectionsAPI fails > regularly with leader mismatch" > Original description by Varun: > I've been noticing lots of failures on Jenkins where the document add get's > rejected because of leader conflict and throws an error like > {code} > ClusterState says we are the leader > (https://127.0.0.1:38715/solr/awhollynewcollection_0_shard2_replica_n2), but > locally we don't think so. Request came from null > {code} > Scanning Jenkins logs I see that these failures have increased since Sept > 28th and has been failing daily. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org