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

Wait for nodes to agree on primary in tags.js

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.10
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 16 (06/24/16), Repl 17 (07/15/16)
    • 0

      createCollection() can be called before the nodes actually agree on a primary. We rely on awaitReplication to ensure an election will not occur, but that's not a guarantee. Calling awaitNodesAgreeOnPrimary() should fix this.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: