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

ReplSetTest should retry waitForAllNewlyAddedRemovals on NotPrimary errors

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • Repl 2023-03-20, Repl 2023-04-03, Repl 2023-04-17, Repl 2023-05-01, Repl 2023-05-15, Repl 2023-05-29, Repl 2023-12-11, Repl 2023-12-25
    • 5

    Description

      We are trying to check the config during initiate, but the replica set isn't stable yet and a node starts a priority takeover at the same time. This means that the primary-only parameter (commitmentStatus) we're using when requesting the config causes the command to error with a NotPrimary error.

      We should retry waitForAllNewlyAddedRemovals in that situation.

      Attachments

        Activity

          People

            samy.lanka@mongodb.com Samyukta Lanka
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: