[SERVER-59759] Add assertions to SBE leaf stages checking that memory doesn't get unpinned Created: 02/Sep/21 Updated: 29/Oct/23 Resolved: 25/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Ian Boros | Assignee: | Ian Boros |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2021-10-04, Execution Team 2021-10-18, Execution Team 2021-11-01 |
| Participants: |
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 22/Oct/21 ] |
|
Author: {'name': 'Ian Boros', 'email': 'ian.boros@mongodb.com', 'username': 'borosaurus'}Message: These assertions check that memory owned by the storage layer remain consistent across yields. |