diff options
author | Wenbin Zhu <wenbin.zhu@mongodb.com> | 2021-09-02 02:08:11 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-09-02 02:53:55 +0000 |
commit | b46acdbba8ec51810b6f402dbe18ed7ea98fd13d (patch) | |
tree | dad1c8a0b7d5cf2a911ea0b43a9429a061e857f4 /src/mongo/db/repl/initial_syncer_test.cpp | |
parent | da01d3d80716135c2109bb57319bcee4c0bb1afc (diff) | |
download | mongo-b46acdbba8ec51810b6f402dbe18ed7ea98fd13d.tar.gz |
SERVER-58988 Avoid sync source selection cycle during primary catchup.
Diffstat (limited to 'src/mongo/db/repl/initial_syncer_test.cpp')
-rw-r--r-- | src/mongo/db/repl/initial_syncer_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/initial_syncer_test.cpp b/src/mongo/db/repl/initial_syncer_test.cpp index 9661a12cdef..ba220838ef5 100644 --- a/src/mongo/db/repl/initial_syncer_test.cpp +++ b/src/mongo/db/repl/initial_syncer_test.cpp @@ -576,7 +576,8 @@ RemoteCommandResponse makeCursorResponse(CursorId cursorId, int rbid) { OpTime futureOpTime(Timestamp(1000, 1000), 1000); Date_t futureWallTime = Date_t() + Seconds(futureOpTime.getSecs()); - rpc::OplogQueryMetadata oqMetadata({futureOpTime, futureWallTime}, futureOpTime, rbid, 0, 0); + rpc::OplogQueryMetadata oqMetadata( + {futureOpTime, futureWallTime}, futureOpTime, rbid, 0, 0, ""); BSONObjBuilder bob; { |