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

PrimaryOnlyServiceTest TestService should wait for cancellation logic to run

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2021-05-17
    • 127

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: