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

Verify checksums of CFS files?

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: master (9.0), 8.6
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      While CFS files write checksums in their footer, we never validate these checksums. Can we verify them in LeafReader#checkIntegrity?

      This checksum is a bit redundant with the checksums of the files that are stored in the CFS file, but I'd rather verify some bytes multiple times than have checksums that never get verified?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jpountz Adrien Grand
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m