You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Tomas Eduardo Fernandez Lobbe (Jira)" <ji...@apache.org> on 2023/05/02 18:31:00 UTC

[jira] [Created] (SOLR-16783) Race condition deleting clusterstate.json can prevent Solr from starting

Tomas Eduardo Fernandez Lobbe created SOLR-16783:
----------------------------------------------------

             Summary: Race condition deleting clusterstate.json can prevent Solr from starting
                 Key: SOLR-16783
                 URL: https://issues.apache.org/jira/browse/SOLR-16783
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Tomas Eduardo Fernandez Lobbe


ZkController attempts to delete the deprecated {{clusterstate.json}} file from ZooKeeper if empty on startup. If multiple instances attempt to delete it at the same time one of them will succeed and the others will fail with `NoNodeException`, which bubbles up and causes the instant to fail startup, requiring another restart



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org