[SERVER-57235] Change tassert to allow ShutdownInProgress in MirrorMaestro's _mirror function Created: 27/May/21  Updated: 29/Oct/23  Resolved: 27/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 5.0 Desired
Fix Version/s: 5.0.0

Type: Improvement Priority: Major - P3
Reporter: Tyler Seip (Inactive) Assignee: Tyler Seip (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2021-05-31
Participants:
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.



 Comments   
Comment by Githook User [ 27/May/21 ]

Author:

{'name': 'Tyler Seip', 'email': 'Tyler.Seip@mongodb.com', 'username': 'tseip-mongo'}

Message: SERVER-57235: Don't tassert on ShutdownInProgress in MirrorMaestro
Branch: master
https://github.com/mongodb/mongo/commit/d7c69eb4c0453f77047fcc95ed4ab76a6580718c

Generated at Thu Feb 08 05:41:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.