[SERVER-41575] secondary_shard_versioning.js should not set the shard secondaries votes to 0 Created: 07/Jun/19  Updated: 29/Oct/23  Resolved: 19/Jun/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.6.13, 4.0.11, 4.2.0-rc2, 4.3.1

Type: Bug Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Lamont Nelson
Resolution: Fixed Votes: 0
Labels: esha-summer-2019-neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2, v4.0, v3.6
Sprint: Sharding 2019-06-17, Sharding 2019-07-01
Participants:
Linked BF Score: 10

 Description   

To make the secondaries unelectable, it is enough for the test to set the secondaries' priority to 0. Setting the votes to 0 makes excludes the secondaries from needing to confirm majority writes and causes the test to be flaky.



 Comments   
Comment by Githook User [ 19/Jun/19 ]

Author:

{'name': 'Lamont Nelson', 'email': 'lamont.nelson@mongodb.com'}

Message: SERVER-41575 remove 'votes: 0' option for nodes in the jstests/sharding/secondary_shard_versioning.js test

(cherry picked from commit 998ed6bacb93aa130fa996ad30d78eba9454c1d9)
Branch: v3.6
https://github.com/mongodb/mongo/commit/47bafc63d7cdffa00a6d4a292127f10a09a5798b

Comment by Githook User [ 19/Jun/19 ]

Author:

{'name': 'Lamont Nelson', 'email': 'lamont.nelson@mongodb.com'}

Message: SERVER-41575 remove 'votes: 0' option for nodes in the jstests/sharding/secondary_shard_versioning.js test

(cherry picked from commit 998ed6bacb93aa130fa996ad30d78eba9454c1d9)
Branch: v4.0
https://github.com/mongodb/mongo/commit/4b955e5468a505738629e625896649a9e1640123

Comment by Githook User [ 19/Jun/19 ]

Author:

{'name': 'Lamont Nelson', 'email': 'lamont.nelson@mongodb.com'}

Message: SERVER-41575 remove 'votes: 0' option for nodes in the jstests/sharding/secondary_shard_versioning.js test

(cherry picked from commit 998ed6bacb93aa130fa996ad30d78eba9454c1d9)
Branch: v4.2
https://github.com/mongodb/mongo/commit/307042595c4f3d0b7059b7e7bd371b3194149c7e

Comment by Githook User [ 17/Jun/19 ]

Author:

{'name': 'Lamont Nelson', 'email': 'lamont.nelson@mongodb.com'}

Message: SERVER-41575 remove 'votes: 0' option for nodes in the jstests/sharding/secondary_shard_versioning.js test
Branch: master
https://github.com/mongodb/mongo/commit/998ed6bacb93aa130fa996ad30d78eba9454c1d9

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