[SERVER-44672] Restart secondary without options in shard_aware_init_secondaries.js Created: 15/Nov/19  Updated: 29/Oct/23  Resolved: 19/Nov/19

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

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2019-12-02
Participants:
Linked BF Score: 49

 Description   

jstests/sharding/shard_aware_init_secondaries.js restarts a shard secondary to verify it initializes its sharding state. It does this by passing the secondary's options to ReplSetTest.restart(). These options include binVersion, so this restart fails in the sharding_multiversion suite because "TestData. useRandomBinVersionsWithinReplicaSet" is set to true, failing this assertion.

Instead, if no options are given to ReplSetTest.restart(), the node will be restarted using its original startup options and a random binVersion, allowing us to not blacklist the test from multiversion suites.



 Comments   
Comment by Githook User [ 18/Nov/19 ]

Author:

{'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}

Message: SERVER-44672 Restart secondary without options in shard_aware_init_secondaries.js
Branch: master
https://github.com/mongodb/mongo/commit/5f4028944b1a08d7d07747a04101b48dce7ea099

Generated at Thu Feb 08 05:06:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.