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

Compound file writing should verify checksum of its sub-files

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          48 kB
          Michael McCandless
        2. LUCENE-7323.patch
          57 kB
          Michael McCandless

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: