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

A way to detect the bitmap value change (prevent unsetting a bit)

    • Storage Engines
    • 3
    • 2023-07-11 WiredTractor, 2023-07-25 Absolute unit, StorEng - 2023-08-08, ASeasonTooMany-2023-08-22, BermudaTriangle- 2023-09-05, TheMoon-StorEng - 2023-09-19, NachoCheese - 2023-10-03, Joker - StorEng - 2023-10-17, Asparagus-StorEng - 2023-10-31, c(3x10^8)-StorEng - 2023-11-14, 2023-11-28 - Anthill Tiger, 2023-12-12 - Heisenbug, 2024-01-09 - I Grew Tired, StorEng - 2024-01-23, 2024-02-06 tapioooooooooooooca, 2024-02-20_A_near-death_puffin, 2024-03-05 - Claronald, 2024-03-19 - PacificOcean, 2024-04-02 - GreatMugshot

      When tracking blocks for incremental backup, the set of changed blocks is tracked via a bitmap in the code. There is an invariant that single bits should never be cleared from the bitmap - they should only be added. The checking needs to be able to work across a restart of WiredTiger - this isn't a check that is useful just in-memory.

      We should figure out how to enforce that invariant since it would have caught a critical issue in the field - WT-10551.

      A solution might be to add a mechanism that checks on restart in diagnostic mode.

            Assignee:
            jeremy.thorp@mongodb.com Jeremy Thorp
            Reporter:
            deepti.hasija@mongodb.com Deepti Hasija
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: