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

Do not interrupt ShardingDDLCoordinator instances before releasing distributed locks

    • Fully Compatible
    • ALL
    • Sharding EMEA 2021-05-17

      Failed sharding DDL coordinators that didn't managed to write their state document on disk are explicitly de-registered from the in-memory registry by calling POS::releaseInstance().
      The problem is that if we pass a failed status to this function we will trigger the interruption of the instance before we managed to release the distributed locks previously acquired from that instance.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: