jstests/replsets/collection_clone_resume_after_network_error.js
// Verify the 'find' command received by the primary has resumeAfter set with the given recordId.
Verify the 'find' command received by the primary has resumeAfter set with the given recordId.
Verify the ' find ' command received by the primary has resumeAfter set with the given recordId .
function checkHasResumeAfter(recordId) {
    if (isJsonLogNoConn()) {
        checkLog.contains(primary, `"$_resumeAfter":{"$recordId":${recordId}}`);
    } else {
        checkLog.contains(primary, "$_resumeAfter: { $recordId: " + recordId + " }");
    }
}
function checkHasResumeAfter ( recordId ) { if ( isJsonLogNoConn ( ) ) { checkLog . contains ( primary , ` ${ recordId } ` ) ; } else { checkLog . contains ( primary , "$_resumeAfter: { $recordId: " + recordId + " }" ) ; } }
Verify the 'find' command received by the primary has resumeAfter set with the given recordId.
Verify the ' find ' command received by the primary has resumeAfter set with the given recordId .