-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
160
The changes introduced by SERVER-82970 exposed the fact that the PlanExecutor::getNext() (or at least, the implementation defined by PlanExecutorImpl) is returning unowned BSONObject to its callers, which may experience segmentation fault error in case the executor object gets destroyed before accessing such objects.
This ticket proposes to either implement a more robust behaviour - or to make the limitation explicit through the documentation of the interface.
- related to
-
SERVER-93715 Add C++ test for splitVector to attest correct BSONObj lifetime management
- Backlog