[SERVER-61173] EFT index cursor save() implementation assumes the cursor is not already saved Created: 01/Nov/21 Updated: 29/Oct/23 Resolved: 12/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Bug | 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 | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Execution Team 2021-11-15 | ||||
| Participants: | |||||
| Linked BF Score: | 22 | ||||
| Description |
|
The saveState() implementation in ephemeral_for_test_sorted_impl.cpp currently relies on the assumption that it is already in a saved state. This can lead to invariant failures if restoring the state of a PlanStage tree is unsuccessful and the tree has to be re-saved() and re-restored(). |
| Comments |
| Comment by Githook User [ 11/Nov/21 ] |
|
Author: {'name': 'Ian Boros', 'email': 'ian.boros@mongodb.com', 'username': 'borosaurus'}Message: |