-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 7.0.0, 8.1.0-rc0, 8.0.0
-
Component/s: None
-
None
-
Cluster Scalability
-
Fully Compatible
-
ALL
-
v8.0, v7.0
-
Cluster Scalability 2024-10-14
-
(copied to CRM)
-
0
The _targetQuery function always passes in a valid QueryTargetingInfo object. This means we are always passing a valid set to getShardIdsForRange and whenever we target all shard ids, we will insert every chunk into an ordered set.
The _targetQuery function should instead pass a nullptr if chunkRanges is also nullptr to skip this work in cases where its result won't even be used.
- related to
-
SERVER-95448 Remove call to getAllChunkRanges as part of getShardIdsForRange
- Closed