[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: SERVER-54924 awaitReplication errors are too easily ignored
Branch: master
https://github.com/mongodb/mongo/commit/a1cb32b607ffff4014a203419cc60598f206b7e0

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