Stop compacting if not enough space has been reclaimed after N iterations

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Compaction
    • None
    • Storage Engines, Storage Engines - Persistence
    • StorEng - Defined Pipeline
    • 5

      Between two consecutive iterations, compaction may not save much space but still evaluates the table as compactable. If the amount of saved space is below a specific threshold or if it is evaluated as not worth the potential disruption caused by compaction after N iterations, we should quit. Currently, the maximum number of iterations is set to 100. We have seen cases in SERVER-80124 where 25 iterations take 1h and no space is actually being reclaimed.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: