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

Query stageBuilder unnecessarily slow

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 3.5.8
    • Fix Version/s: 3.5.9
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      In db/query/stage_builder.cpp, buildStages() is a series of if/else-if calls to the same virtual function, comparing against enumeration values, and repeated until a match. Of course this can be done better and more safely using a switch statement.

        Attachments

          Activity

            People

            Assignee:
            nathan.myers Nathan Myers
            Reporter:
            nathan.myers Nathan Myers
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: