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

Remove stale comment from plan_yield_policy.cpp

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • QE 2021-09-20, QE 2021-10-04, QE 2021-10-18, Execution Team 2021-11-15, Execution Team 2021-11-29, Execution Team 2021-12-13, Execution Team 2021-12-27, Execution Team 2022-01-10, Execution Team 2022-01-24, Execution Team 2022-02-07

      This comment is out of date:

          // A yield has occurred, but there still may not be a 'yieldable'. This is true, for example,
          // when executing a getMore for the slot-based execution engine. SBE uses the "locks internally"
          // lock policy, and therefore the getMore code path does not acquire any db_raii object. As a
          // result, there is no db_raii object to restore here when executing a getMore against a cursor
          // using SBE.
      

      SBE now takes locks outside of the plan.

            Assignee:
            jeffrey.xiao@mongodb.com Jeffrey Xiao
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: