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/04 17:11:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Tomas Eduardo Fernandez Lobbe resolved SOLR-16783.
--------------------------------------------------
    Fix Version/s: main (10.0)
                   9.3
                   9.2.2
       Resolution: Fixed

> 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: Major
>             Fix For: main (10.0), 9.3, 9.2.2
>
>          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