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

Move CommonStats and timing code out of PlanStage::work()

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.1
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query F (02/01/16)

      Every implementation of PlanStage::work() in its children classes has repeating code for working with its CommonStats and a timer. Move these boilerplate code to a common work() function in the parent PlanStage that then calls a doWork() function defined by the children with the rest of the code from the original work().

            Assignee:
            rassi J Rassi
            Reporter:
            qingyang.chen Qingyang Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: