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

SessionWorkflow improvements

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 6.3.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v6.3
    • Service Arch 2023-02-20
    • 120

      While searching for the cause of performance issue BF-27452, we discovered a few things that were not the cause, but were still worthy of improvement.

      Redundant yield. The fix SERVER-73623 added a yield before _receiveRequest, but did not remove the yield after sendResponse. Testing shows that we don't need the yield after sendResponse anymore.

      Unnecessary binding of Frame to a shared_ptr, copied into lambdas. This could be a data member of SessionWorkflow.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: