Support retention of valid cursor across aggregation and getMore for the $exchange operator

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Execution Team 2022-09-05, Execution Team 2022-09-19
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-60742 implemented support for agg/getMore, but disabled it in the case of $exchange. The issue is that a PlanExecutor can have nested PlanExecutors in their plan trees, and in the case of $exchange the nested PlanExecutor can be shared across multiple ClientCursors – a mutex protects against concurrent access. So we will need to associate RecoveryUnits with PlanExecutors rather than ClientCursors, and have a mechanism by which we load the appropriate RU onto the opCtx for the duration of the use of an associated PlanExecutor.

            Assignee:
            Unassigned
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: