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

Add a flag so drop doesn't block

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.8.0
    • Affects Version/s: WT2.7.0
    • Component/s: None
    • Labels:
      None
    • Storage Engines

      If a WT_SESSION::drop cannot get exclusive access to a handle, it returns EBUSY. In that case, MongoDB queues the drop, and all threads periodically retry all queued drops. Unfortunately, during periods where the schema lock is held (such as the final phase of checkpoints), that causes all threads to block.

      Instead, add a flag that MongoDB can set so that drop returns EBUSY immediately if it cannot acquire the schema lock (i.e., fails fast).

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: