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

awaitReplication errors are too easily ignored

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2021-04-05

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: