diff options
Diffstat (limited to 'src/mongo/db/repl/replication_recovery.cpp')
-rw-r--r-- | src/mongo/db/repl/replication_recovery.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/repl/replication_recovery.cpp b/src/mongo/db/repl/replication_recovery.cpp index 2d363d6a579..a7ed6a8e34b 100644 --- a/src/mongo/db/repl/replication_recovery.cpp +++ b/src/mongo/db/repl/replication_recovery.cpp @@ -728,9 +728,6 @@ void ReplicationRecoveryImpl::_truncateOplogIfNeededAndThenClearOplogTruncateAft } if (stableTimestamp && !stableTimestamp->isNull() && truncatePoint <= stableTimestamp) { - AutoGetCollectionForRead oplog(opCtx, NamespaceString::kRsOplogNamespace); - invariant(oplog.getCollection()); - LOGV2(21556, "The oplog truncation point ({truncatePoint}) is equal to or earlier than the stable " "timestamp ({stableTimestamp}), so truncating after the stable timestamp instead", |