[SERVER-20606] testSlave.js incorrectly assumes that first member of set is primary Created: 24/Sep/15  Updated: 11/Jul/16  Resolved: 11/Jul/16

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

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

Operating System: ALL
Sprint: RPL A (10/09/15)
Participants:

 Description   

testSlave.js creates a replica set, and incorrectly assumes that the first member in the replica set config will become the primary node.



 Comments   
Comment by Matt Dannenberg [ 01/Oct/15 ]

A fix for this was included in the PV1 default patch:
https://github.com/mongodb/mongo/commit/d789bca4c9fe76cd4d5375e66e281ed5a349e8fd

Generated at Thu Feb 08 03:54:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.