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

Fix deadlock when the config server coordinator contacts itself as a shard

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible

    Description

      When the catalog shard handles the setFeatureCompatabilityVersion command (via the run() member function in the SetFeatureCompatibilityVersionCommand class) it acquires a lock and eventually sends a setFeatureCompatabilityVersion command to all the shards. Since the catalog shard is also a shard, it will handle the command and attempt to acquire a lock again resulting in a deadlock.

      Attachments

        Activity

          People

            wenqin.ye@mongodb.com Wenqin Ye
            wenqin.ye@mongodb.com Wenqin Ye
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: