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

SearcherTaxonomyManager.refreshIfNeeded leaks file handles on exception

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.4, 8.0
    • modules/facet
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: