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

Fail prepareTransaction if coordinator shard does not exist in shard registry

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: