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

Add support for concurrent DDL operations on the same database

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding EMEA

      Currently we use the DistLock manager to syncronize DDL operations.

      Historically DistLocks was required for DDL operations to syncronize with ongoing migrations.

      After SERVER-61759 it is not necessary anymore to use DistLock on DDL operations since they all use sharding_ddl_util::stopMigrations to drain and serialize with migrations on a specific collections.

      This means that once 6.0 became last LTS we can make DDL operations to start using a node-local-only synchronization mechanism. Moreover by using a local syncronization mechanism that support shared/exclusive mode we will be able to support concurrent DDL operations for the same database.

            Assignee:
            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: