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

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

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

      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:
            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:
            3 Start watching this issue

              Created:
              Updated: