Fix bug in magic_restore_system_uuids_two_nodes.js around election

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • v8.0
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are 2 issues in this test:

      • It is possible for the election to fail due to the replset having 2 nodes, they can race and cause the term to increase which is not expected by the config check.
      • There is a per node check that can fail if the secondary does not see the primary yet because getPrimary is used where it should be awaitNodesAgreeOnPrimary.

              Assignee:
              Frederic Vitzikam (Inactive)
              Reporter:
              Frederic Vitzikam (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: