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

Let SolrCore be the only thing which registers/unregisters a config directory listener

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2, 6.0
    • Component/s: SolrCloud
    • Labels:
      None
    • Flags:
      Patch

      Description

      As reported here: http://markmail.org/message/ynkm2axkdprppgef, there is a race condition which results in an exception when creating multiple collections over the same config set. I was able to reproduce it in a test, although I am only able to reproduce if I put break points and manually simulate the problematic context switches.

        Attachments

        1. SOLR-7408.patch
          47 kB
          Shai Erera
        2. SOLR-7408.patch
          48 kB
          Shai Erera
        3. SOLR-7408.patch
          48 kB
          Shai Erera
        4. SOLR-7408.patch
          46 kB
          Shai Erera
        5. SOLR-7408.patch
          44 kB
          Shai Erera
        6. SOLR-7408.patch
          15 kB
          Shai Erera
        7. SOLR-7408.patch
          13 kB
          Shai Erera

          Activity

            People

            • Assignee:
              shaie Shai Erera
              Reporter:
              shaie Shai Erera
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: