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

Change tassert to allow ShutdownInProgress in MirrorMaestro's _mirror function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 5.0 Desired
    • 5.0.0
    • None
    • None
    • Fully Compatible
    • Service Arch 2021-05-31
    • 16

    Description

      If mirroring a request fails in _mirror, we currently catch any exceptions and log them via a debug statement. There is a single tassert in _mirror which complains if the returned status of the response is ShutdownInProgress - this is unnecessary and is causing some tests to erroneously fail when mirroring requests race with shutdown. Don't trigger the tripwire if the status has the ShutdownInProgress error code.

      Attachments

        Activity

          People

            tyler.seip@mongodb.com Tyler Seip (Inactive)
            tyler.seip@mongodb.com Tyler Seip (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: