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

Compound file writing should verify checksum of its sub-files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.2, 7.0
    • None
    • None
    • New

    Description

      For larger segments, there is a non-trivial window, from when IW
      writes sub-files, to when it then builds the CFS, during which the
      files can become corrupted (from external process, bad filesystem,
      hardware, etc.)

      Today we quietly build the CFS even if the sub-files are corrupted,
      but we can easily detect it, letting users catch corruption earlier
      (write time instead of read time).

      Attachments

        1. LUCENE-7323.patch
          57 kB
          Michael McCandless
        2. LUCENE-7323.patch
          48 kB
          Michael McCandless

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: