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

rollback_after_enabling_majority_reads.js test should ensure the correct primary before restarting other nodes [v4.0]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.0.9
    • 4.0.13
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-06-17, Repl 2019-07-01, Repl 2019-07-15, Repl 2019-07-29, Repl 2019-08-12, Repl 2019-08-26, Repl 2019-09-09
    • 36

    Description

      The rollback_after_enabling_majority_reads.js test expects node 0 to become primary here, by shutting down and restarting node 1. This may not always work if node 1 restarts and wins an election too soon. We should make this test wait for node 0 to become primary in this case before node 1 is restarted or is allowed to get elected.

      Attachments

        Issue Links

          Activity

            People

              william.schultz@mongodb.com William Schultz (Inactive)
              william.schultz@mongodb.com William Schultz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: