Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Query Execution
-
Fully Compatible
-
QE 2023-10-16, QE 2023-10-30, QE 2023-11-13
-
105
Description
Fix getTargetedShardsForQuery() to route using the routing table whenever it is available
Caller related to determining whether to split the pipeline should be handled when we get rid of the kPrimaryShard host type requirement
Callers in establishShardCursors()
Calculating the nShards statistic
Agg code which is contacting the primary shard over the wire in order to get the UUID and collation associated with an unsharded collection.
Note that some of these callers MAY need to stick around until after we cut a branch for 8.0 as we may still need to rely on the notion of db primary in some cases if the FCV is NOT 8.0.
Attachments
Issue Links
- depends on
-
SERVER-76855 Audit mongos for improper usage of collation and incorrectly assuming simple collation rather than collection default
-
- Closed
-
- has to be done before
-
DOCS-16362 [SERVER] Investigate changes in SERVER-79724: Get rid of the AggregationTargeter::TargetingPolicy::kPassthrough and the entire “passthrough” code path in agg
-
- Closed
-
- is duplicated by
-
SERVER-82566 Try to avoid call to cluster_aggregation_planner::getCollationAndUUID
-
- Closed
-