[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: |
|
||||
| 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: |