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

Fix bug in magic_restore_system_uuids_two_nodes.js around election

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

      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@mongodb.com Frederic Vitzikam (Inactive)
            Reporter:
            frederic.vitzikam@mongodb.com Frederic Vitzikam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: