Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-86888

Move yield policy from SBE plan stage constructor to RuntimeEnvironment

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution

      Move yield policy from SBE plan stage constructor to RuntimeEnvironment.

      Yield Policy is determined at runtime and its the same for all stages in the plan that have yielding enabled.

      Passing yield policy in stage constructor is redundant, as that policy will typically be overriden when the plan is cloned and prepared for execution. 

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            anna.wawrzyniak@mongodb.com Anna Wawrzyniak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: