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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Wenqin Ye
            Reporter:
            Wenqin Ye
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: