• 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.

            Assignee:
            Unassigned
            Reporter:
            Evan Bergeron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: