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

Change tassert to allow ShutdownInProgress in MirrorMaestro's _mirror function

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0
    • Affects Version/s: 5.0 Desired
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2021-05-31
    • 16

      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.

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

              Created:
              Updated:
              Resolved: