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

Disk full during addIndexes(Directory[]) can corrupt index

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.1
    • core/index
    • None
    • New, Patch Available

    Description

      This is a spinoff of LUCENE-555

      If the disk fills up during this call then the committed segments file can reference segments that were not written. Then the whole index becomes unusable.

      Does anyone know of any other cases where disk full could corrupt the index?

      I think disk full should worse lose the documents that were "in flight" at the time. It shouldn't corrupt the index.

      Attachments

        1. LUCENE-702.take3.patch
          77 kB
          Michael McCandless
        2. LUCENE-702.take2.patch
          77 kB
          Michael McCandless
        3. LUCENE-702.patch
          73 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment