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

Add assertions to SBE leaf stages checking that memory doesn't get unpinned

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2021-10-04, Execution Team 2021-10-18, Execution Team 2021-11-01

      To mitigate the risk of hard-to-reproduce BFs coming out of the yielding project, we should add some (debug build only) assertions to the SBE leaf stages which check that the memory owned by the storage layer does not change underneath the query plan between saves()/restores().

      We should also make sure a variant exercising this behavior gets run in evergreen.

            Assignee:
            ian.boros@mongodb.com Ian Boros
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: