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

Estimate compaction work as needed

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Compaction
    • None
    • Storage Engines
    • 3
    • StorEng - Defined Pipeline

      Currently, the estimation phase occurs once after reviewing N pages. The estimation phase sets the compact_pages_rewritten_expected value. Since the estimation phase might be off for various reasons (parallel writers, not enough pages reviewed, etc), we may end up with compact_pages_rewritten > compact_pages_rewritten_expected. When this happens, it might be time to estimate the work for compaction and take the right decision whether it's worth continuing or not.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: