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

Leaking FileChannel in NIOFSDirectory#openInput

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master (9.0), 8.7
    • Fix Version/s: master (9.0), 8.7
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      If we fail to get the size of a file in the constructor of NIOFSIndexInput, then we will leak a FileChannel opened in NIOFSDirectory#openInput. This bug is discovered by a test failure in Elasticsearch.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dnhatn Nhat Nguyen
                Reporter:
                dnhatn Nhat Nguyen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h