jstests/change_streams/oplog_rewrite/change_stream_match_pushdown_namespace_rewrite.js
// 2. the filtering is been done at oplog level
2. the filtering is been done at oplog level
2 . the filtering is been done at oplog level
function verifyOnWholeCluster(
    resumeAfterToken, userMatchExpr, expectedResult, expectedOplogRetDocsForEachShard) {
    verifyChangeStreamOnWholeCluster({
        st: st,
        changeStreamSpec: {resumeAfter: resumeAfterToken},
        userMatchExpr: userMatchExpr,
        expectedResult: expectedResult,
        expectedOplogNReturnedPerShard:
            [expectedOplogRetDocsForEachShard, expectedOplogRetDocsForEachShard]
    });
}
function verifyOnWholeCluster ( resumeAfterToken , userMatchExpr , expectedResult , expectedOplogRetDocsForEachShard ) { verifyChangeStreamOnWholeCluster ( { st : st , changeStreamSpec : { resumeAfter : resumeAfterToken } , userMatchExpr : userMatchExpr , expectedResult : expectedResult , expectedOplogNReturnedPerShard : [ expectedOplogRetDocsForEachShard , expectedOplogRetDocsForEachShard ] } ) ; }
2. the filtering is been done at oplog level
2 . the filtering is been done at oplog level