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.

    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

        1. SOLR-9834.patch
          37 kB
          Mark Miller
        2. SOLR-9834.patch
          38 kB
          Mark Miller

        Activity

          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: