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

Possible hidden exception on SegmentInfos commit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.3.1
    • None
    • core/index
    • None
    • New

    Description

      I am not sure if this is that big of a deal, but I just ran into it and thought I might mention it.

      SegmentInfos.commit removes the Segments File if it hits an exception. If it cannot remove the Segments file (because its not there or on Windows something has a hold of it), another Exception is thrown about not being able to delete the Segments file. Because of this, you lose the first exception, which might have useful info, including why the segments file might not be there to delete.

      • Mark

      Attachments

        1. LUCENE-1214.patch
          5 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            markrmiller@gmail.com Mark Miller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: