Avoid unnecessary steps in service_entry_point_shard_role

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Trivial - P5
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Query Execution
    • Fully Compatible
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      service_entry_point_shard_role.cpp currently performs a few unnecessary steps:

      • retrieve dbName here without using it
      • retrieve dbName here without using it
      • create a temporary ExecutionContext object only to assign it to an ExecutionContext object here

      All of these steps can likely be removed. This will save a few cycle on every request.

              Assignee:
              Jan Steemann
              Reporter:
              Jan Steemann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: