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

Make background compaction interruptible

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: Compaction
    • None
    • 5
    • ASeasonTooMany-2023-08-22

      Any operation that needs exclusive access to a table (schema operations, verify, ...) to be executed might be blocked by the background compaction server. Sometimes it might be worth it to interrupt the background compaction server to let the operation that needs exclusive access proceed. A scenario where this would make a lot of sense is when the background compaction is compacting a table that the application wants to drop. We should cancel the compaction and let the drop proceed.

      Tasks:

      • Investigate whether WT-9636 can be reused and update this ticket accordingly.
      • Investigate how to stop the background compaction to proceed when it is in the middle of a compaction while the application is turning the server off simultaneously.

      Definition of done:

      • The background compaction server can be interrupted by the application.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: