Estimate compaction work as needed

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: