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

Only retry failed writes in a batch on stale version errors in a transaction

    • Cluster Scalability

      As of SERVER-35707, if any batch write encounters a stale shard version error, the router can only continue the transaction if this was the first overall statement received from the client. This is to avoid double applying writes because currently batch writes in a transaction must be entirely retried, unlike outside of a transaction where only the individual writes that failed will be retried. This ticket is to track changing batch write behavior in a transaction to only retry the failed writes to avoid aborting more than necessary in the face of migrations.

            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            jack.mulrow@mongodb.com Jack Mulrow
            0 Vote for this issue
            3 Start watching this issue