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

Write live restore unit tests for filling bit range

    • Storage Engines
    • 5
    • StorEng - 2025-03-14, StorEng - 2025-03-28

      Write catch2 unit tests for filling holes in the bitmap.

       

      Original ticket description:

      At least the following tests cases should be covered. Please consider during implementation whether further cases are required.

      ️Removing a hole:

      • Entirely inside an extent
      • Partially overlapping an extent on the left
      • Partially overlapping an extent on the right
      • Fully overlapping an extent
      • Exactly matching an extent
      • Overlapping multiple extents
      • Not overlapping an extent
      • Fully overlapping the final extent in the list. The extent list becomes NULL

      This may uncover bugs that can also be fixed under this ticket. Feel free to break work into separate tickets if the work becomes too large.

            Assignee:
            zunyi.liu@mongodb.com Zunyi Liu
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: