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

PlanStage::_commonStats should be made private

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • Query 2021-01-25

    Description

      PlanStage::_commonStats generally does not have to be accessed or modified by stage implementations, and thus should be made private.

      There are a couple of existing uses that would have to be addressed before this could be made possible:

      • Stages are generally responsible for setting _commonStats.isEOF.
      • MultiPlanStage::pickBestPlan(), CachedPlanStage::pickBestPlan() and SubplanStage::pickBestPlan() are responsible for updating _commonStats.executionTimeMillis.

      Attachments

        Activity

          People

            timour.katchaounov@mongodb.com Timour Katchaounov
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: