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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.1
    • Querying
    • None
    • Fully Compatible
    • Query F (02/01/16)

    Description

      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().

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: