Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8244

SearcherTaxonomyManager.refreshIfNeeded leaks file handles on exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4, 8.0
    • Component/s: modules/facet
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This method first refreshes the main index, and then the taxonomy, but if an exception is hit while refreshing the taxonomy, it fails to close the new reader it opened from the main index.

        Attachments

        1. LUCENE-8244.patch
          3 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: