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.

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.9
    • Sprint:
      Sharding 2021-05-03
    • Linked BF Score:
      135

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: