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

Executor shutdown can cause AsyncTry-until to set its result with ErrorCodes::BrokenPromise

    • Fully Compatible
    • ALL
    • v5.0
    • Service Arch 2021-03-22, Service Arch 2021-05-31, Service Arch 2021-06-14, Service Arch 2021-06-28, Service Arch 2021-07-12, Service Arch 2021-08-09, Service Arch 2021-08-23
    • 124
    • 3

      If the executor shuts down here, the continuation passed to getAsync will not run, leading the result promise to be set with a BrokenPromise error. We should fix it to set a ShutdownInProgress error in that case.

            Assignee:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: