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

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Jason Chan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: