-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
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.
- depends on
-
SERVER-39704 Allow mongos to retry on stale version and snapshot errors within a transaction
- Backlog
- is related to
-
SERVER-35707 Figure out the transaction abort state on re-targeting exceptions
- Closed