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

ServiceExecutor: makeTaskRunner instead of schedule

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Service Arch 2022-10-31

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: