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

Client will not be able to use transaction recovery token to retry commitTransaction if recovery shard gets removed

    XMLWordPrintableJSON

Details

    • Cluster Scalability
    • ALL

    Description

      The client's recovery token will contain the shard name of a shard that's no longer in the cluster. I would expect the client's commitTransaction retry against mongos would return ShardNotFound.

      This affects every release since 4.2.

      One potential fix is for mongos to try to recover the transaction's outcome from all remaining shards. Chunk migration would need to transfer information about committed transactions.

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: