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

Remove yield preparation and recovery logic from SBE stages

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Execution Team 2021-11-29

      Description

      Once we have the guarantee that a cursor's data will remain valid until the following call to next() we should remove the following:

      -The slotsAccessible() and disableSlotAccess() functions in sbe::PlanStage.
      -Any copies of data made as part of yield preparation (usually a call to makeOwned()).
      -Resetting cursor positions, as part of doSaveState() in leaf nodes (scan.cpp, ix_scan.cpp).
      -Tracking of _outerGetNext in the NLJ stage.

      This should be do-able in one patch. We will likely be able to remove doSaveState()/doRestoreState() from many of the sbe::PlanStages.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-execution Backlog - Storage Execution Team
            Reporter:
            ian.boros Ian Boros
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: