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

Detect on-going DDL operations in fsync with lock command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.2, 6.0.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding NYC
    • Fully Compatible
    • v7.0, v6.0
    • 161

      The mongos fsync with lock command should ensure that there are no DDL operations in progress on any shard. The fsync with lock command must first lock the shard and then verify if any DDL operations are in progress (this ordering of operations, inhibits any new DDL operation from starting before locking the shard). If any in-progress DDL operations are detected on any shard, the mongos fsync with lock command must fail, unlock any locked shards and return an appropriate error to the user.

      Determine if an additional parameter (to detect DDL operations in progress) must be passed while broadcasting the fsync with lock command to all shards.

      This capability will only be available in v6.0 and above. 

            Assignee:
            jada.lilleboe@mongodb.com Jada Lilleboe
            Reporter:
            nandini.bhartiya@mongodb.com Nandini Bhartiya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: