[SERVER-54593] Remove special-case handling of reshardingMinimumOperationDurationMillis for multiversion suites Created: 17/Feb/21  Updated: 06/Dec/22  Resolved: 05/Aug/21

Status: Closed
Project: Core Server
Component/s: Sharding, Upgrade/Downgrade
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Amirsaman Memaripour Assignee: [DO NOT USE] Backlog - Sharding NYC
Resolution: Duplicate Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-58172 Bump LAST_LTS version to 5.0 for mult... Closed
Related
is related to SERVER-53918 Enforce minimumReshardingDuration Closed
Assigned Teams:
Sharding NYC
Participants:

 Description   

This ticket should remove the special-case handling for reshardingMinimumOperationDurationMillis introduced by SERVER-53918 once the LTS version is 4.9+.

This ticket should replace the first code block with the second block:

if "reshardingMinimumOperationDurationMillis" in suite_set_parameters:
    if executable == LAST_LTS_MONGOD_BINARY:
        del suite_set_parameters["reshardingMinimumOperationDurationMillis"]
elif executable != LAST_LTS_MONGOD_BINARY:
    suite_set_parameters["reshardingMinimumOperationDurationMillis"] = 5000

if "reshardingMinimumOperationDurationMillis" not in suite_set_parameters:
    suite_set_parameters["reshardingMinimumOperationDurationMillis"] = 5000



 Comments   
Comment by Max Hirschhorn [ 05/Aug/21 ]

This was addressed by the changes in bc5f939 as part of SERVER-58172 already.

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