summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/initial_syncer_test.cpp
diff options
context:
space:
mode:
authorWenbin Zhu <wenbin.zhu@mongodb.com>2021-09-02 02:08:11 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-09-02 02:53:55 +0000
commitb46acdbba8ec51810b6f402dbe18ed7ea98fd13d (patch)
treedad1c8a0b7d5cf2a911ea0b43a9429a061e857f4 /src/mongo/db/repl/initial_syncer_test.cpp
parentda01d3d80716135c2109bb57319bcee4c0bb1afc (diff)
downloadmongo-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.cpp3
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;
{