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

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

    XMLWordPrintableJSON

Details

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

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

              Dates

                Created:
                Updated:
                Resolved: