Solr
  1. Solr
  2. SOLR-5009

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      1. SOLR-5009.patch
        3 kB
        Uwe Schindler

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

          Commit 1500157 from Uwe Schindler
          [ https://svn.apache.org/r1500157 ]

          SOLR-5009: fix issue number

          Show
          ASF subversion and git services added a comment - Commit 1500157 from Uwe Schindler [ https://svn.apache.org/r1500157 ] SOLR-5009 : fix issue number
          Hide
          ASF subversion and git services added a comment -

          Commit 1500166 from Uwe Schindler
          [ https://svn.apache.org/r1500166 ]

          SOLR-5009: CHANGES.txt now only list SOLR-5009 as part of SOLR-4948

          Show
          ASF subversion and git services added a comment - Commit 1500166 from Uwe Schindler [ https://svn.apache.org/r1500166 ] SOLR-5009 : CHANGES.txt now only list SOLR-5009 as part of SOLR-4948
          Hide
          ASF subversion and git services added a comment -

          Commit 1500166 from Uwe Schindler
          [ https://svn.apache.org/r1500166 ]

          SOLR-5009: CHANGES.txt now only list SOLR-5009 as part of SOLR-4948

          Show
          ASF subversion and git services added a comment - Commit 1500166 from Uwe Schindler [ https://svn.apache.org/r1500166 ] SOLR-5009 : CHANGES.txt now only list SOLR-5009 as part of SOLR-4948
          Hide
          ASF subversion and git services added a comment -

          Commit 1500315 from Alan Woodward
          [ https://svn.apache.org/r1500315 ]

          SOLR-4948, SOLR-5009: Tidy up CoreContainer construction logic

          Show
          ASF subversion and git services added a comment - Commit 1500315 from Alan Woodward [ https://svn.apache.org/r1500315 ] SOLR-4948 , SOLR-5009 : Tidy up CoreContainer construction logic
          Hide
          Robert Muir added a comment -

          Thanks Uwe/Alan!

          Show
          Robert Muir added a comment - Thanks Uwe/Alan!
          Hide
          Steve Rowe added a comment -

          Bulk close resolved 4.4 issues

          Show
          Steve Rowe added a comment - Bulk close resolved 4.4 issues

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development