diff options
author | Dianna Hohensee <dianna.hohensee@mongodb.com> | 2021-04-26 22:31:27 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-04 17:59:03 +0000 |
commit | c4065661e5c9c57e8d724243f5f07db72a827090 (patch) | |
tree | acddb3cb2085b938c50e6c6c80c9cc68f673bd33 /src/mongo/db/storage/storage_engine_impl.cpp | |
parent | bd75fc927ec6dbf8a5db6a0377b3b235453f4d71 (diff) | |
download | mongo-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.cpp | 3 |
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 |