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

XMLWordPrintableJSON

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

      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
              Reporter:
              Zixuan Zhuang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: