Stop compaction if no new pages are rewritten between two iterations

XMLWordPrintableJSON

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

      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
              Reporter:
              Etienne Petrel
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: