summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/oplog.cpp')
-rw-r--r--src/mongo/db/repl/oplog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog.cpp b/src/mongo/db/repl/oplog.cpp
index 3d3af821c79..5533bc411a1 100644
--- a/src/mongo/db/repl/oplog.cpp
+++ b/src/mongo/db/repl/oplog.cpp
@@ -237,8 +237,9 @@ Status insertDocumentsForOplog(OperationContext* opCtx,
if (!status.isOK())
return status;
+ OpDebug* const nullOpDebug = nullptr;
collection_internal::cappedDeleteUntilBelowConfiguredMaximum(
- opCtx, oplogCollection, records->begin()->id);
+ opCtx, oplogCollection, records->begin()->id, nullOpDebug);
// We do not need to notify capped waiters, as we have not yet updated oplog visibility, so
// these inserts will not be visible. When visibility updates, it will notify capped