[SERVER-20378] Clean up DocumentSourceUnwind::Unwinder, attempt to share code with $lookUp Created: 11/Sep/15  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Aggregation Framework, Internal Code
Affects Version/s: 3.1.8
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: optimization
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Currently the $lookUp stage has to duplicate much of the logic of the $unwind stage in order to be able to coalesce with it. It would be nice if the logic could all live in one place. Additionally, DocumentSourceUnwind, and DocumentSourceUnwind::Unwinder share many member variables, and could probably be merged into one class somehow.


Generated at Thu Feb 08 03:54:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.