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

Investigate whether we can run one DDL command per 'applyOps'

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Storage Execution

      Today, multiple DDL commands can be specified in a single 'applyOps' command. We should investigate if there are any use cases to having this and if we can only have one DDL command run per 'applyOps'.

      There would be confusion on which lock mode to take for the database if we were to remove the exclusive global lock here when there are multiple DDL commands to execute.

      If it's possible to run one DDL command per 'applyOps' we can hold the appropriate lock mode throughout the entire operation for the database without the concern of having to switch lock modes for subsequent commands.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: