[SERVER-32688] FSM replication suites should give secondaries zero votes Created: 12/Jan/18  Updated: 30/Oct/23  Resolved: 21/Feb/18

Status: Closed
Project: Core Server
Component/s: Replication, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.4.16, 3.6.6, 3.7.3

Type: Task Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-30642 Raise election timeouts as a way to p... Closed
Related
related to SERVER-31670 Change replica set fixture used by re... Closed
related to SERVER-44214 Give replica set secondaries votes in... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6, v3.4
Sprint: TIG 2018-02-26
Participants:
Linked BF Score: 21

 Description   

To avoid unexpected elections while running replication FSM suites, we should give secondaries of the replica set shards and of the config server replica set zero votes. It appears that we do not currently do this.



 Comments   
Comment by Githook User [ 30/May/18 ]

Author:

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

Message: SERVER-32688 Fix lint
Branch: v3.4
https://github.com/mongodb/mongo/commit/e674cf76dbceffed8c9b255445b33a710a5dd79f

Comment by Githook User [ 30/May/18 ]

Author:

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

Message: SERVER-32688 FSM replication suites should give secondaries zero votes
Branch: v3.4
https://github.com/mongodb/mongo/commit/4ab52cb8bc6078e07de1a9cbb7e1326f2d9ffe87

Comment by Githook User [ 30/May/18 ]

Author:

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

Message: SERVER-32688 FSM replication suites should give secondaries zero votes

(cherry picked from commit 6883cdb23ea001e0164c69b0c8f800f5e71232c7)
Branch: v3.6
https://github.com/mongodb/mongo/commit/1216f44445d9d9cd69e585e2668f4a0995e9c75b

Comment by Githook User [ 21/Feb/18 ]

Author:

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

Message: SERVER-32688 FSM replication suites should give secondaries zero votes
Branch: master
https://github.com/mongodb/mongo/commit/6883cdb23ea001e0164c69b0c8f800f5e71232c7

Comment by Jonathan Abrahams [ 20/Feb/18 ]

Any FSM tests which use continuous stepdown will not have this configuration.

Comment by Max Hirschhorn [ 04/Feb/18 ]

For a reason similar to SERVER-32775, we may not be able to do for the fsm_all_sharded_causal_consistency*.js tests.

Comment by Gregory McKeon (Inactive) [ 25/Jan/18 ]

Assigning to TIG to see if there's bandwidth to work on this next week.

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