[SERVER-21565] resmoke.py can not start replica sets with more than 7 nodes Created: 19/Nov/15  Updated: 20/Jun/17  Resolved: 23/Dec/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.2.3, 3.3.0

Type: Bug Priority: Minor - P4
Reporter: Adam Midvidy Assignee: Jonathan Abrahams
Resolution: Done Votes: 0
Labels: test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: TIG E (01/08/16)
Participants:

 Description   

If you modify the yaml config for say, integration_tests_replset to have a ReplSetFixture with more than 7 nodes, the test will fail to start because the replica set config will be rejected as invalid for having more than 7 voting members.

Ideally, additional nodes (past the 7 voting members) would be added as non-voting.



 Comments   
Comment by Githook User [ 11/Jan/16 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-21565 Support more than 7 nodes in a replica set in resmoke.py

(cherry picked from commit 0964c60791584d8031ee9d835f59c26e783a946f)
Branch: v3.2
https://github.com/mongodb/mongo/commit/96b613d7fb0cd455c79e5c2bc86534b7bbd49582

Comment by Githook User [ 23/Dec/15 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-21565 Support more than 7 nodes in a replica set in resmoke.py
Branch: master
https://github.com/mongodb/mongo/commit/0964c60791584d8031ee9d835f59c26e783a946f

Comment by Kamran K. [ 11/Dec/15 ]

It looks like this code needs to be updated to make the >7 members be non-voting:

https://github.com/mongodb/mongo/blob/r3.2.0/buildscripts/resmokelib/testing/fixtures/replicaset.py#L79-L85

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