[SERVER-61650] Disconnect nodes before restarting replication in sync_source_selection_ignores_minvalid_after_rollback.js Created: 19/Nov/21  Updated: 29/Oct/23  Resolved: 22/Nov/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0, 5.1.2, 5.0.6

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.1, v5.0
Sprint: Replication 2021-11-29
Participants:
Linked BF Score: 150

 Description   

We should disconnect node 1 from node 2 after we make sure node 1 votes in the election but before it turns off its failpoint to start replicating from node 0, so that node 1 doesn't change its sync source to node 2.



 Comments   
Comment by Githook User [ 17/Dec/21 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-61650 Disconnect nodes before restarting replication in sync_source_selection_ignores_minvalid_after_rollback.js

(cherry picked from commit a8fc841123128ea1fb30f95f48a6b4c9b11632a5)
Branch: v5.1
https://github.com/mongodb/mongo/commit/df1c4d01da255d8f1ee4267fb3b7637c7a3b0625

Comment by Githook User [ 17/Dec/21 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-61650 Disconnect nodes before restarting replication in sync_source_selection_ignores_minvalid_after_rollback.js

(cherry picked from commit a8fc841123128ea1fb30f95f48a6b4c9b11632a5)
Branch: v5.0
https://github.com/mongodb/mongo/commit/95a2b587959cf380b64f25c7ea44343140ac44d9

Comment by Githook User [ 22/Nov/21 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-61650 Disconnect nodes before restarting replication in sync_source_selection_ignores_minvalid_after_rollback.js
Branch: master
https://github.com/mongodb/mongo/commit/a8fc841123128ea1fb30f95f48a6b4c9b11632a5

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