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

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

    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.

      1. SOLR-5009.patch
        3 kB
        Uwe Schindler

        Issue Links

          Activity

          Hide
          jira-bot ASF subversion and git services added a comment -

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

          SOLR-5009: fix issue number

          Show
          jira-bot ASF subversion and git services added a comment - Commit 1500157 from Uwe Schindler [ https://svn.apache.org/r1500157 ] SOLR-5009 : fix issue number
          Hide
          jira-bot 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
          jira-bot 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
          jira-bot 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
          jira-bot 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
          jira-bot 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
          jira-bot 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
          rcmuir Robert Muir added a comment -

          Thanks Uwe/Alan!

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

          Bulk close resolved 4.4 issues

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development