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

A variety of spots in the code can create a collection zk node after the collection has been removed.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.4, 7.0
    • None
    • None

    Description

      The results of this have annoyed me for some time. We should fail rather than create the collection node and only ensure the rest of the path exists if the collection node did not need to be created.

      Currently, leader elections can trigger on delete and recreate a collection zk node that was just removed. I think there was a bit of defense put in against that, but I still see it and this is more thorough as well as a step towards the ZK=Truth path.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            markrmiller@gmail.com Mark Miller
            markrmiller@gmail.com Mark Miller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment