summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_recovery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/replication_recovery.cpp')
-rw-r--r--src/mongo/db/repl/replication_recovery.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/repl/replication_recovery.cpp b/src/mongo/db/repl/replication_recovery.cpp
index 2af2027aaec..24d885ddaba 100644
--- a/src/mongo/db/repl/replication_recovery.cpp
+++ b/src/mongo/db/repl/replication_recovery.cpp
@@ -145,9 +145,11 @@ public:
: BSON("$gte" << _oplogApplicationStartPoint);
_cursor = _client->query(NamespaceString::kRsOplogNamespace,
QUERY("ts" << predicate),
- /*batchSize*/ 0,
+ /*limit*/ 0,
/*skip*/ 0,
- /*projection*/ nullptr);
+ /*projection*/ nullptr,
+ /*options*/ 0,
+ /*batchSize*/ 0);
// Check that the first document matches our appliedThrough point then skip it since it's
// already been applied.