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

awaitReplication errors are too easily ignored

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2021-04-05

      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.

            Assignee:
            m.maher@mongodb.com Moustafa Maher
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: