[SERVER-54857] Re-examine disposal approach of the inner PlanExecutor of DocumentSourceCursor Created: 01/Mar/21  Updated: 06/Dec/22  Resolved: 08/Oct/21

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Mindaugas Malinauskas Assignee: Backlog - Query Execution
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-53534 Support including postBatchResumeToke... Closed
Assigned Teams:
Query Execution
Participants:

 Description   

Re-examine disposal approach of the inner PlanExecutor of DocumentSourceCursor aggregation stage. Currently, for standard cursors, the inner PlanExecutor is disposed and destroyed on reaching an EOF. For tailable cursors, it is kept alive until higher level PlanExecutor is disposed. Keeping the PlanExecutor alive in all usage scenarios (whether disposed or not) is one of the alternatives to consider that could simplify the DocumentSourceCursor logic.


Generated at Thu Feb 08 05:34:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.