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

Multi updates that implicitly run createCollection can deadlock with a MultiUpdateCoordinator when trying to acquire the DDL lock

    • Cluster Scalability
    • Fully Compatible
    • v8.0
    • 200

      If we set the cluster parameter to block balancing during updateMany, an updateMany with {upsert: true} can trigger an implicit createCollection which can deadlock in trying to acquire a DDL lock for the target namespace since the MultiUpdateCoordinator is designed to hold the DDL lock to pause all concurrent DDL operations when executing a multi update.

            Assignee:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Reporter:
            jason.zhang@mongodb.com Jason Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: