You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/05/04 16:53:00 UTC
[jira] [Commented] (SOLR-16783) Race condition deleting clusterstate.json can prevent Solr from starting
[ https://issues.apache.org/jira/browse/SOLR-16783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17719421#comment-17719421 ]
ASF subversion and git services commented on SOLR-16783:
--------------------------------------------------------
Commit 1c50f16abee6a784d96c91149ef89235e3d0ffb5 in solr's branch refs/heads/main from Tomas Eduardo Fernandez Lobbe
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=1c50f16abee ]
SOLR-16783: Ignore NoNodeException when deleting clusterstate.json on startup (#1624)
> 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
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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