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

Add a flag so drop doesn't block

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • WT2.7.0
    • WT2.8.0
    • None
    • None

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              michael.cahill@mongodb.com Michael Cahill
              michael.cahill@mongodb.com Michael Cahill
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: