[SERVER-43237] replSetFreeze and replSetStepDown cmd done part of restartNode()/transitionToSteadyStateOperations() in rollback test should be resilient of network error. Created: 09/Sep/19  Updated: 29/Oct/23  Resolved: 24/Sep/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.2.1, 4.3.1

Type: Bug Priority: Major - P3
Reporter: Suganthi Mani Assignee: Suganthi Mani
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-42602 Guarantee that unconditional step dow... Closed
is related to SERVER-48046 {replSetFreeze: 0} done in RollbackTe... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Sprint: Repl 2019-09-09, Repl 2019-09-23, Repl 2019-10-07
Participants:
Linked BF Score: 13

 Description   

Currently, this code block in restartNode() and replSetFreeze cmd in transitionToSteadyStateOperations() can throw network error due to in-progress rollback. Because when the node gets transition to rollback, we kill and close all user operations. Since, we are not catching the network exceptions for those commands, the rollback test can fail.



 Comments   
Comment by Githook User [ 24/Sep/19 ]

Author:

{'name': 'Suganthi Mani', 'username': 'smani87', 'email': 'suganthi.mani@mongodb.com'}

Message: SERVER-43237 replSetFreeze and replSetStepDown cmd done part of
restartNode()/transitionToSteadyStateOperations() in rollback test
should be resilient of network errors.

(cherry picked from commit 397f0556a9e2d4fa3106d9490611b405d0e1ecf3)
Branch: v4.2
https://github.com/mongodb/mongo/commit/abc05fba0123c1dbc478f770e4aca6c763eaf073

Comment by Githook User [ 23/Sep/19 ]

Author:

{'username': 'smani87', 'email': 'suganthi.mani@mongodb.com', 'name': 'Suganthi Mani'}

Message: SERVER-43237 replSetFreeze and replSetStepDown cmd done part of
restartNode()/transitionToSteadyStateOperations() in rollback test
should be resilient of network errors.
Branch: master
https://github.com/mongodb/mongo/commit/397f0556a9e2d4fa3106d9490611b405d0e1ecf3

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