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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: