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

Clear bits in backup bitmaps from discarded extents

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Backup
    • Storage Engines
    • StorEng - Defined Pipeline

      Currently the incremental backup bitmap is strictly additive. Any changes from the start of this ID to a table are noted in the set bits. Once a bit is set, it is never unset for that backup ID. But a file can undergo a lot of checkpoints between incremental backups and some blocks that were changed earlier may not be relevant to any currently valid checkpoints. That means we're copying data unnecessarily.

      Explore what it would take to recreate a full/correct bitmap after a checkpoint completes based on what blocks are valid currently.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: