Add checksum to "checkpoint_meta"

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Persistence
    • 4,561.39
    • None
    • None

      WiredTiger currently uses the checkpoint_meta config option to specify the metadata of a checkpoint that a follower needs to pick up. The current format has only one field called metadata_lsn, which specifies the LSN associated with the checkpoint metadata page at table_id = 1, page_id = 1.

      However, unlike other pages, the metadata page is not checksummed at the WiredTiger level. To increase the confidence in correctness, we should therefore calculate a checksum of the metadata page and store it in checkpoint_meta.

      As this is a data format change—albeit a kind with straightforward upgrade/downgrade paths—we should prioritize it.

            Assignee:
            Peter Macko
            Reporter:
            Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: