Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-54857

Re-examine disposal approach of the inner PlanExecutor of DocumentSourceCursor

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Query Execution

      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.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: