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

Stop compaction if no new pages are rewritten between two iterations

    • Storage Engines
    • 3
    • 2024-04-02 - GreatMugshot, 나비 (nabi) - 2024-04-16

      WT-12430 has exposed a bug where compaction keeps looping on a file while not doing work.

      Compaction sees that there is enough free space at the start of the file and decides to proceed. However, the blocks it tries to rewrite cannot be rewritten and it keeps retrying.

      We should have a check to ensure we are making progress between two iterations.

            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: