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

Move accumulatePipelinePlanSummaryStats out of document_source.{h,cpp}

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2025-04-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently accumulatePipelinePlanSummaryStats() is a free function declared and defined in document_source.{h,cpp}, but

      • it can actually (and subjectively more naturally) be a method of a Pipiline class
      • it deals with query execution statistics, which will be moved out of DocumentSource classes as a result of SPM-4106
      • converting it first to the method of the Pipeline class will simplify further refactoring.

            Assignee:
            serhii.lysenko@mongodb.com Serhii Lysenko
            Reporter:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: