-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
A sharded collection must be backed by an index on the shard key. In M2, we are running through bonsai only for collection scan plans which necessitate there being no indexes on the collection besides the primary index. However many of our sharding suites define {_id: 'hashed'}, so we should support this case to gain more coverage of M2.
- depends on
-
SERVER-79853 [CQF] Generate SBE expression to hash shard key when invoking ShardFilterer
- Closed
- is depended on by
-
SERVER-71280 Add test coverage for currentOp with CQF queries
- Closed