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

CoreContainer instantiates 2 SolrResourceLoaders (implicit) but does not close all of them

    XMLWordPrintableJSON

    Details

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

      Description

      Windows fails to delete files when they are open. CoreContainer opens a second SolrResourceLoader (implicit) when calling ConfigSolr.fromFile(). It should not do this and use the main loader, whcih is closed on shutdown.

      This will remove the support for implicit ResourceLoader in ConfigSolr, preventing multiple classloaders for the same solr home.

        Attachments

        1. SOLR-5009.patch
          3 kB
          Uwe Schindler

          Issue Links

            Activity

              People

              • Assignee:
                uschindler Uwe Schindler
                Reporter:
                uschindler Uwe Schindler
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: