[SERVER-59535] Fix change_sync_source_in_initial_sync.js Created: 24/Aug/21  Updated: 29/Oct/23  Resolved: 10/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2021-09-06, Repl 2021-09-20
Participants:
Linked BF Score: 50

 Description   

We have a BF where the first initial sync attempt fails due to network error, and we expect that we succeed from first attempt

we should store the value of the failedInitialSyncAttempts after the first initial sync attempt, and then just check that the counter === failedInitialSyncAttempts + 1 after switching sync sources



 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 [ 10/Sep/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-59535 Fix change_sync_source_in_initial_sync.js
Branch: master
https://github.com/mongodb/mongo/commit/0e81cb17dfb443253c7368e6e8a422b2db33734d

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