[SERVER-59693] ReshardingTest fixture must accommodate nodes going into ROLLBACK while attempting to run replSetStepUp Created: 31/Aug/21  Updated: 29/Oct/23  Resolved: 08/Sep/21

Status: Closed
Project: Core Server
Component/s: Sharding, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.0.4, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-fuzzer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-53351 Add resharding fuzzer task with step-... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-08-23, Sharding 2021-09-06, Sharding 2021-09-20
Participants:
Story Points: 1

 Description   

A node closes its user connections as part of its transition to member state ROLLBACK. The ReshardingTest#stepUpNewPrimaryOnShard() method should swallow any network error when attempting to run the replSetStepUp command and move on to attempting to step up another secondary node.

const res = newPrimary.adminCommand({replSetStepUp: 1});
if (res.ok === 1) {
    replSet.awaitNodesAgreeOnPrimary();
    assert.eq(newPrimary, replSet.getPrimary());
    return;
}



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 21/Sep/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-59693 Retry replSetStepUp command in ReshardingTest fixture.

(cherry picked from commit 09dc809ac2f1698fa3d7ccf61dcffe3c72c3d57f)
Branch: v5.0
https://github.com/mongodb/mongo/commit/8d6747b43585870bf07419c9aa016a89872fb4e3

Comment by Githook User [ 07/Sep/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-59693 Retry replSetStepUp command in ReshardingTest fixture.
Branch: master
https://github.com/mongodb/mongo/commit/09dc809ac2f1698fa3d7ccf61dcffe3c72c3d57f

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