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

Investigate how to give up compaction when a schema operation occurs on the same table

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Compaction
    • None
    • 5
    • BermudaTriangle- 2023-09-05

      A schema operation requires exclusive access. If compaction is already running on that table, the schema operation cannot be executed and EBUSY is returned to the caller. An interesting scenario is when the application tries to drop a collection that is being compacted, compaction is probably not worth pursuing and should be interrupted.

      This ticket should investigate how we could address this kind of scenario.

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

              Created:
              Updated: