On checksum mismatch compute the checksum of the read block ensuring it matches the checksum in the block header

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines, Storage Engines - Persistence
    • SE Persistence backlog
    • None

      We can determine if what we read from the disk is a valid block or not by checking if the checksum we wrote to the disk matches the block checksum contained in the header file.

      This is complicated somewhat by the presence of the flag WT_BLOCK_COMPRESS_SKIP , therefore we should only do this ticket after completing the work to deprecate other block checksum methods.

      Those largely are define here:

      https://github.com/wiredtiger/wiredtiger/blob/a1ddb57707206a466d26de0b062cd185bdf390c9/src/btree/bt_handle.c#L532 

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: