SERVER-138570Needs Scheduling

Test path arrayness invalidation with streaming group

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

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.