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

SolrIndexWriter constructor leaks Directory if Exception creating IndexWriterConfig

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      in LUCENE-4278 i had to add a hack to force SimpleFSDir for CoreContainerCoreInitFailuresTest, because it doesnt close its Directory on certain errors.

      This might indicate a problem that leaks happen if certain errors happen (e.g. not handled in finally)

        Attachments

        1. SOLR-3699.patch
          3 kB
          Hoss Man
        2. SOLR-3699.patch
          8 kB
          Hoss Man
        3. SOLR-3699.patch
          8 kB
          Hoss Man
        4. SOLR-3699.patch
          10 kB
          Hoss Man
        5. SOLR-3699.patch
          11 kB
          Hoss Man

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                rcmuir Robert Muir
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: