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

Fail prepareTransaction if coordinator shard does not exist in shard registry

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Sharding

      Once we send the coordinator shard with the prepareTransaction command, participants should check that the coordinator shard exists in the shard registry. If it does not, they should fail the command. This is to prevent against a race that could occur after removing a shard. The shard registry refresh killing transactions whose coordinator shard was removed can race with the prepareTransaction command reaching a participant.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: