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

Failed election during a replSetStepUp command should be handled gracefully during tests

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Server Serverless 2022-05-30, Server Serverless 2022-06-13, Server Serverless 2022-06-27
    • 12

      In our jstests we have had instances of calls to replSetStepUp which do not have their return value asserted leading to unclear failures of the test (the BF returned a timedout when it should have failed due to a failed election)

      We should also make sure in cases where a rollback during an election is tolerable, that the parameter `"force": true` is used in order to guarantee the election to succeed.

            Assignee:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: