summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/storage_engine_impl.cpp
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@mongodb.com>2021-04-26 22:31:27 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-04 17:59:03 +0000
commitc4065661e5c9c57e8d724243f5f07db72a827090 (patch)
treeacddb3cb2085b938c50e6c6c80c9cc68f673bd33 /src/mongo/db/storage/storage_engine_impl.cpp
parentbd75fc927ec6dbf8a5db6a0377b3b235453f4d71 (diff)
downloadmongo-c4065661e5c9c57e8d724243f5f07db72a827090.tar.gz
SERVER-54005 Prevent oplog history truncation from deleting entries lte to the oplogTruncateAfterPoint
Diffstat (limited to 'src/mongo/db/storage/storage_engine_impl.cpp')
-rw-r--r--src/mongo/db/storage/storage_engine_impl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/storage/storage_engine_impl.cpp b/src/mongo/db/storage/storage_engine_impl.cpp
index 6475f344984..a2a72b61dd3 100644
--- a/src/mongo/db/storage/storage_engine_impl.cpp
+++ b/src/mongo/db/storage/storage_engine_impl.cpp
@@ -1265,5 +1265,8 @@ void StorageEngineImpl::unpinOldestTimestamp(const std::string& requestingServic
_engine->unpinOldestTimestamp(requestingServiceName);
}
+void StorageEngineImpl::setPinnedOplogTimestamp(const Timestamp& pinnedTimestamp) {
+ _engine->setPinnedOplogTimestamp(pinnedTimestamp);
+}
} // namespace mongo