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

ServiceExecutor: makeTaskRunner instead of schedule

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2022-10-31

      In the ServiceExecutorSynchronous/Reserved refactor of SERVER-70151,
      The base ServiceExecutor API changes in a small way.

      Client code (the SessionWorkflow, really) will use a TaskRunner to schedule work, instead of calling ServiceExecutor::schedule directly.

      A trivial implementation of makeTaskRunner can be written for the pre-refactor case. ServiceExecutorFixed already has such an implementation in the SERVER-70151 PR.

      Separating this work would enable easier performance comparisons of before and after SERVER-70151.

            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: