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

Re-examine disposal approach of the inner PlanExecutor of DocumentSourceCursor

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • None
    • Query Execution

    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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: