-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Cluster Scalability
-
Fully Compatible
-
v8.1, v8.0
-
ClusterScalability Mar17-Mar31
-
None
-
None
-
None
-
None
-
None
-
None
-
None
SERVER-84796 disabled the single write shard commit optimization for updates that change a document's shard key value and move it across shards. It does so by setting a flag on the TransactionRouter before running the update shard key transaction. That flag is never unset though, so future transactions using that TransactionRouter (ie same logical session and same mongos instance) cannot use the optimization. Instead, we should unset the flag when resetting the TransactionRouter state here.
- related to
-
SERVER-84796 Disable single write shard optimization for updates that change a shard key value
-
- Closed
-