diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-09-25 13:38:03 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-09-25 17:56:42 -0400 |
commit | 7ea530946fa7880364d88c8d8b6026bbc9ffa48c (patch) | |
tree | 788e6b2149cda1e18aa166b6368d8d70c621213d /src/mongo/db/repl/storage_interface_impl.cpp | |
parent | bf2cfbd09d6695e2c84b295c3aa539adaf6496a8 (diff) | |
download | mongo-r4.0.3.tar.gz |
SERVER-36982 Fix Jepsen mmap and Linux (no journal) failuresr4.0.3-rc0r4.0.3
Diffstat (limited to 'src/mongo/db/repl/storage_interface_impl.cpp')
-rw-r--r-- | src/mongo/db/repl/storage_interface_impl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl.cpp b/src/mongo/db/repl/storage_interface_impl.cpp index 93d93a319d4..6497c9aa36e 100644 --- a/src/mongo/db/repl/storage_interface_impl.cpp +++ b/src/mongo/db/repl/storage_interface_impl.cpp @@ -1062,6 +1062,10 @@ bool StorageInterfaceImpl::supportsRecoverToStableTimestamp(ServiceContext* serv return serviceCtx->getStorageEngine()->supportsRecoverToStableTimestamp(); } +bool StorageInterfaceImpl::supportsRecoveryTimestamp(ServiceContext* serviceCtx) const { + return serviceCtx->getStorageEngine()->supportsRecoveryTimestamp(); +} + boost::optional<Timestamp> StorageInterfaceImpl::getRecoveryTimestamp( ServiceContext* serviceCtx) const { return serviceCtx->getStorageEngine()->getRecoveryTimestamp(); |