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

Give earlier and better error message for invalid CRC

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.3, 6.0
    • None
    • None
    • New

    Description

      From digging into LUCENE-6576:

      We use a 32-bit CRC but store it in 64-bits, but today 32 bits are unused. We should check this on both read and write and if bits are invalid (because something is wrong in the JVM, or because on-disk stuff just got corrupted in that way), deliver a good exception.

      Attachments

        1. LUCENE-6577.patch
          2 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: