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

race condition in CoreContainer.shutdown leads to double closes on cores

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3
    • Fix Version/s: 4.4, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      CoreContainer.shutdown has a race condition that can lead to a closed (or closing) core being handed out to an incoming request. This can further lead to SolrCore.close() logic being executed again when the request is finished.

      This bug was introduced in SOLR-4196 r1451797

        Attachments

        1. SOLR-4960.patch
          2 kB
          Yonik Seeley
        2. SOLR-4960_getCore.patch
          3 kB
          Yonik Seeley

          Issue Links

            Activity

              People

              • Assignee:
                yseeley@gmail.com Yonik Seeley
                Reporter:
                yseeley@gmail.com Yonik Seeley
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: