[SERVER-52959] Fix invariant failure in IndexScanStage::doRestoreState() Created: 20/Nov/20 Updated: 24/Apr/21 Resolved: 25/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | Backlog |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Drew Paroski | Assignee: | David Storch |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | qexec-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Steps To Reproduce: |
|
||||||||||||||||
| Sprint: | Query 2020-11-30 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
When I tried to run the "bestbuy_agg_query_comparison.js" benchmark with useAgg=false and with SBE mode enabled, the benchmark failed with mongod crashing due to an invariant failure in IndexScanStage::doRestoreState(). I've developed a simplified repro - see the "Steps To Reproduce" section. The invariant failure is happening on line 133 of "src/mongo/db/exec/sbe/stages/ix_scan.cpp":
Here is what the call stack looks like when the invariant fails:
The goal of this task is to investigate why the invariant is failing and fix the underlying issue. |
| Comments |
| Comment by David Storch [ 25/Nov/20 ] |
|
Closing as a duplicate of |