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

SolrIndexWriter constructor leaks Directory if Exception creating IndexWriterConfig

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0
    • None
    • 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
          11 kB
          Chris M. Hostetter
        2. SOLR-3699.patch
          10 kB
          Chris M. Hostetter
        3. SOLR-3699.patch
          8 kB
          Chris M. Hostetter
        4. SOLR-3699.patch
          8 kB
          Chris M. Hostetter
        5. SOLR-3699.patch
          3 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: