-
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 cached plan with a streaming $group is not reused once the arrayness it relied on no longer holds. Arrayness is not in the plan cache key; the cache is cleared on multikey changes, index builds and drops, and validator changes.
- Add an aggregate version of plan_cache_path_arrayness_multikey_invalidation.js with a streaming_group plan: cache it, make the key an array, and expect an uncached plan without streaming_group and correct results.
- Known gap, to decide separately: the key has neither the IFR flag nor internalEnablePathArrayness, and the yield-time checker is only installed when the knob is on.