diff options
Diffstat (limited to 'src/mongo/db/repl/change_stream_oplog_notification.cpp')
-rw-r--r-- | src/mongo/db/repl/change_stream_oplog_notification.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/change_stream_oplog_notification.cpp b/src/mongo/db/repl/change_stream_oplog_notification.cpp index 518c4560785..1c8fb6a78c2 100644 --- a/src/mongo/db/repl/change_stream_oplog_notification.cpp +++ b/src/mongo/db/repl/change_stream_oplog_notification.cpp @@ -43,7 +43,7 @@ namespace { void insertOplogEntry(OperationContext* opCtx, repl::MutableOplogEntry&& oplogEntry, StringData opStr) { - writeConflictRetry(opCtx, opStr, NamespaceString::kRsOplogNamespace.ns(), [&] { + writeConflictRetry(opCtx, opStr, NamespaceString::kRsOplogNamespace, [&] { AutoGetOplog oplogWrite(opCtx, OplogAccessMode::kWrite); WriteUnitOfWork wunit(opCtx); const auto& oplogOpTime = repl::logOp(opCtx, &oplogEntry); |