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

Acquire database critical section on the primary shard when creating the database

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2024-11-11, CAR Team 2024-11-25

      To correctly serialize database creation with other following concurrent DDL operations, we will need to acquire the database critical section on the DB primary shard before committing in the cluster catalog. A concurrent DDL coordinator run on the DB primary shard will check for the database version which will serialize with the acquired database critical section. The createDatabase coordinator will release the database critical section on the primary shard as the last operation before releasing the DDL lock.

            Assignee:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Reporter:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: