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

Remove stale comment from plan_yield_policy.cpp

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • Sprint:
      QE 2021-09-20, QE 2021-10-04, QE 2021-10-18, QE 2021-11-01

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            ian.boros Ian Boros
            Reporter:
            ian.boros Ian Boros
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: