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

SolrIndexWriter constructor leaks Directory if Exception creating IndexWriterConfig

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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
          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

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              rcmuir Robert Muir

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment