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

Make create database coordinator to release its critical section idempotently

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Execution Team 2024-12-23
    • 200

      The coordinator can finish releasing the critical section before a failover happens. When resuming the recovered coordinator, we may send the unblock command to release the critical section again. In the meantime, a different DDL operation like dropDatabase can start and acquire the critical section on the same namespace. In this case it should be safe to make the release a no-op using throwIfReasonDiffers option.

            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:
              Resolved: