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

Change tassert to allow ShutdownInProgress in MirrorMaestro's _mirror function

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 5.0 Desired
    • Fix Version/s: 5.0.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Service Arch 2021-05-31
    • Linked BF Score:
      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

            Assignee:
            tyler.seip Tyler Seip
            Reporter:
            tyler.seip Tyler Seip
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: