[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: |
|
||||||||
| 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: |