-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: 4.0.0
-
Component/s: Aggregation Framework
-
None
-
Fully Compatible
-
ALL
-
v4.0
-
Query 2018-08-27
When preparing a plan executor to be used by an aggregation pipeline, there's an optimization here that pushes a $sort stage down to the query system. However, this can result in a pipeline that is not correctly stitched since there may be an additional stage after the sort that is now pointing to free'd memory.
- is duplicated by
-
SERVER-40206 Segmentation fault after aggregation with lookup pipeline
- Closed