-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
createIndexProbeQSN() in reorder_joins.cpp builds the IndexEntry with isMultikey=false regardless of the catalog, so buildIndexedJoinIndexProbe() never adds the dedup stage. Probing {y: 1, tags: 1} with bounds [x, MinKey]..[x, MaxKey] returns the foreign document once per element of tags. The join field itself is scalar, so path arrayness does not block the plan; INLJ is chosen naturally with a large foreign collection.
- is related to
-
SERVER-121215 Cost of INDEX_PROBE_NODE does not take into account number of index keys visited per 1 probe
-
- Backlog
-
-
SERVER-130790 Handle bumping CollectionTag/index fingerprints if multikeyness flips due to document write
-
- Backlog
-