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

PrimaryOnlyServiceTest TestService should wait for cancellation logic to run

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Service Arch 2021-05-17
    • 127

      If the PrimaryOnlyService's executor is shutdown before the callback to set the completionPromise is run, it can cause the OpCtxInterruptedByShutdownTest to hang while waiting for the completion promise to be set.

            Assignee:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: