[SERVER-74060] Pipeline clone() can lead to dangling opCtx pointers Created: 15/Feb/23 Updated: 06/Nov/23 Resolved: 23/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0, 6.0.12 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Ian Boros | Assignee: | Alyssa Clark |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Query Execution
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v6.0
|
||||||||||||
| Sprint: | QE 2023-02-20, QE 2023-03-06 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
When a pipeline is cloned() with no argument (treated as a null ExpressionContext), some stages will create their own new expression context. The result is a pipeline where the stages do not share the same ExpressionContext, which is wrong. This ticket is to |
| Comments |
| Comment by Githook User [ 06/Nov/23 ] |
|
Author: {'name': 'Alyssa Wagenmaker', 'email': 'alyssa.wagenmaker@mongodb.com', 'username': 'awagenmaker'}Message: (cherry picked from commit 5c57a8874e277424a3b993b14c04be60d25b6742) |
| Comment by Githook User [ 23/Feb/23 ] |
|
Author: {'name': 'Alyssa Wagenmaker', 'email': 'alyssa.wagenmaker@mongodb.com', 'username': 'awagenmaker'}Message: |