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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3
    • 4.4, 6.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: