Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32638

Permit dblock acquisition waiting to be interruptible by killOp

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.3
    • None
    • Concurrency, Storage
    • None
    • Fully Compatible
    • v3.6
    • Storage 2018-02-12, Storage NYC 2018-03-12
    • 5

    Description

      Currently, a dblock acquisition for a contended resource is not interruptable by killOp; the thread will wait indefinitely until the lock is granted.
      This is not normally a problem, as most locks are held for short periods of time (except for foreground index builds). However, the design of multi-statement transactions will allow locks to be held for long periods of time in more cases. In such situations, it will be important to have the ability to kill operations that are waiting for locks to be granted.

      This applies to global, database, and collection-level locks.

      Attachments

        Activity

          People

            louis.williams@mongodb.com Louis Williams
            milkie@mongodb.com Eric Milkie
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: