-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Storage Execution
Currently, all SBE PlanStages inherit from the "CanChangeState" CRTP class, providing saveState() and restoreState() methods.
Once the logic for making copies of unowned data and disabling slot access has been removed, only nodes which access storage resources will need non-trivial implementations of saveState() and restoreState(), in order to check if the collection has been dropped during a yield, for example.
This gives an opportunity to refactor the saveState() and restoreState() mechanism. For example, we may want to only provide these methods on nodes which access storage resources, and remove the recursive walk of the execution tree.
- duplicates
-
SERVER-59620 Remove yield preparation and recovery logic from SBE stages
- Backlog