[SERVER-54924] awaitReplication errors are too easily ignored Created: 03/Mar/21 Updated: 29/Oct/23 Resolved: 01/Apr/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matthew Russotto | Assignee: | Moustafa Maher |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Repl 2021-04-05 |
| Participants: |
| Description |
|
The Replication Coordinator awaitReplication call returns, instead of a Status, a StatusAndDuration. We should mark that class with MONGO_WARN_UNUSED_RESULT_CLASS so we don't ignore the result from awaitReplication. |
| Comments |
| Comment by Githook User [ 01/Apr/21 ] |
|
Author: {'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}Message: |