[SERVER-60582] [v4.4] initiate_emrc_false.js needs to wait for the initial checkpoint Created: 08/Oct/21  Updated: 29/Oct/23  Resolved: 11/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.11, 4.2.18

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

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-60581 [v4.4] initiate_emrc_false.js needs t... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Sprint: Repl 2021-10-18
Participants:
Linked BF Score: 53

 Description   

initiate_emrc_false.js added in SERVER-58780 tests that a secondary with eMRC=false that previously fails replSetInitiate doesn't have to go through initial sync again on restart. The test relies on the secondary node to have an initial checkpoint (i.e. an non-null WiredTiger recoveryTimestamp) before the restart. So we should explicitly wait for it.



 Comments   
Comment by Githook User [ 12/Oct/21 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-60582: initiate_emrc_false.js should wait for the initial checkpoint before shutting down the secondary

(cherry picked from commit a3f74d55f2cd7731172ff509f8e6d6e59d67bc3b)
Branch: v4.2
https://github.com/mongodb/mongo/commit/d86b950b0504847dab1d5d22583c01e6a80c4593

Comment by Githook User [ 11/Oct/21 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-60582: initiate_emrc_false.js should wait for the initial checkpoint before shutting down the secondary
Branch: v4.4
https://github.com/mongodb/mongo/commit/a3f74d55f2cd7731172ff509f8e6d6e59d67bc3b

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