[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: |
|
||||
| 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: |