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

SBE ScanStage should be able to restore when the state is not saved successfully

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • ALL
    • 0

      In SBE stages, saveState() can throw exception (originally from storage cursor WT-11871) so that some state may not be reset (e.g. _coll in ScanStage), and some invariants in restoreState() will crash the query. This problem was hidden until SERVER-98293 added the restoreState() even after we have exception in yielding.

            Assignee:
            zixuan.zhuang@mongodb.com Zixuan Zhuang
            Reporter:
            zixuan.zhuang@mongodb.com Zixuan Zhuang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: