-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
Sharding 2018-09-24, Sharding 2018-10-08
If mongos attempts to read from a view, the shard will throw an exception that forces mongos to retry the command as an aggregation on the underlying collection. Currently, single replica set transactions abort on any error encountered while processing a command, so reading from a view in sharded transaction will abort the entire transaction. Instead, the shard should not abort on CommandOnShardedViewNotSupportedOnMongod and mongos should be able to update its transaction tracking state to account for this.
- is related to
-
SERVER-35707 Figure out the transaction abort state on re-targeting exceptions
- Closed