-
Type:
Engineering Test
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Test that a streaming $group never returns wrong results when a key path that path arrayness says cannot be an array becomes one mid-query (e.g. an index becomes multikey). Model it on jstests/noPassthrough/query/yield/traversef_elision_invalidation.js.
- Pause a streaming_group plan with setYieldAllLocksHang, make the index multikey, resume; expect QueryPlanKilled from the PathArraynessChecker and a bump of query.pathArrayness.queriesFailedDueToInvalidation.
- Cover fetch and covered plans, compound and dotted keys, and a getMore after the change.
- Done when no case returns wrong results or hits tassert 13857200.
- is related to
-
SERVER-138572 Tassert streaming group key values are never arrays
-
- Closed
-