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

    • Fully Compatible
    • ALL
    • v4.9
    • Sharding 2021-05-03
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: