Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-5244

Merge checkpoint allocated-block lists during checkpoint

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 8
    • Storage Engines 2020-01-27

      When a checkpoint is performed, any checkpoints being deleted have to have their allocation lists merged. Change the checkpoint "prep" code to pass each checkpoint's "block-allocated" list into the block manager as part of the checkpoint. When the checkpoint returns, the block-allocated list for the checkpoints immediately after any deleted checkpoints will have their block-allocated lists updated to reflect the changes, and the updated block-allocated lists will need to be written into the metadata file.
      It should be possible to do this without holding the live block lock in the block manager, and that might be worth considering.

      (See note #1 in the comments of the epic)

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            jocelyn.del-prado@mongodb.com Jocelyn del Prado
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: