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

Fix compact to handle pages in WT_REF_DELETED state

    • Storage Engines
    • 5
    • 2023-12-12 - Heisenbug, 2024-01-09 - I Grew Tired, StorEng - 2024-01-23
    • v8.0, v7.0, v6.0

      Between two compaction passes, if the number of pages rewritten has not changed, there is no need to try another time. We should quit.

      An example is shown in this comment from SERVER-80124. Compaction waits until the 100th pass before giving up while no progress was made at all since the start while we could have detected this earlier.

        1. stdout-develop.txt
          416 kB
          Sean Watt
        2. test_compact_random_value.py
          6 kB
          Sean Watt
        3. test_compact12.py
          5 kB
          Sean Watt
        4. test_compact12-fixed.decoded.txt
          9.31 MB
          Sean Watt
        5. test_compact12-no-fix.decoded.txt
          11.59 MB
          Sean Watt
        6. test_compact12-no-fix.decoded-1.txt
          11.59 MB
          Sean Watt

            Assignee:
            sean.watt@mongodb.com Sean Watt
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: