[SERVER-24718] Wait for nodes to agree on primary in tags.js Created: 22/Jun/16  Updated: 19/Jul/16  Resolved: 27/Jun/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.3.10

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 16 (06/24/16), Repl 17 (07/15/16)
Participants:
Linked BF Score: 0

 Description   

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.



 Comments   
Comment by Githook User [ 27/Jun/16 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-24718 wait for nodes to agree on primary in tags.js
Branch: master
https://github.com/mongodb/mongo/commit/abf863ca0f05b7d9db4f2c92b89dcfdff45572f1

Generated at Thu Feb 08 04:07:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.