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

Nested applyOps can hold onto global X lock while blocking on migration commit/abort.

    • Fully Compatible
    • ALL
    • v4.9
    • Sharding 2021-05-03
    • 135

      The applyOps command will acquire the global lock in X mode and then apply the nested applyOps object, which will recursively call into applyOps(). While holding the global X lock, the applyOps command can hit a tenantMigrationConflict and wait for migration commit/abort without yielding the lock.

            Assignee:
            jason.zhang@mongodb.com Jason Zhang
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: