Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16783

Race condition deleting clusterstate.json can prevent Solr from starting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0, 9.1, 9.2, 9.1.1, 9.2.1
    • main (10.0), 9.3, 9.2.2
    • None
    • None

    Description

      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 instance to fail startup, requiring another restart

      Attachments

        Issue Links

          Activity

            People

              tflobbe Tomas Eduardo Fernandez Lobbe
              tflobbe Tomas Eduardo Fernandez Lobbe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m