diff options
Diffstat (limited to 'src/mongo/db/repl/storage_interface_impl.cpp')
-rw-r--r-- | src/mongo/db/repl/storage_interface_impl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl.cpp b/src/mongo/db/repl/storage_interface_impl.cpp index cd9dbcc1fd1..a2298a67932 100644 --- a/src/mongo/db/repl/storage_interface_impl.cpp +++ b/src/mongo/db/repl/storage_interface_impl.cpp @@ -1033,25 +1033,25 @@ StatusWith<OptionalCollectionUUID> StorageInterfaceImpl::getCollectionUUID( } void StorageInterfaceImpl::setStableTimestamp(ServiceContext* serviceCtx, Timestamp snapshotName) { - serviceCtx->getGlobalStorageEngine()->setStableTimestamp(snapshotName); + serviceCtx->getStorageEngine()->setStableTimestamp(snapshotName); } void StorageInterfaceImpl::setInitialDataTimestamp(ServiceContext* serviceCtx, Timestamp snapshotName) { - serviceCtx->getGlobalStorageEngine()->setInitialDataTimestamp(snapshotName); + serviceCtx->getStorageEngine()->setInitialDataTimestamp(snapshotName); } StatusWith<Timestamp> StorageInterfaceImpl::recoverToStableTimestamp(OperationContext* opCtx) { - return opCtx->getServiceContext()->getGlobalStorageEngine()->recoverToStableTimestamp(opCtx); + return opCtx->getServiceContext()->getStorageEngine()->recoverToStableTimestamp(opCtx); } bool StorageInterfaceImpl::supportsRecoverToStableTimestamp(ServiceContext* serviceCtx) const { - return serviceCtx->getGlobalStorageEngine()->supportsRecoverToStableTimestamp(); + return serviceCtx->getStorageEngine()->supportsRecoverToStableTimestamp(); } boost::optional<Timestamp> StorageInterfaceImpl::getRecoveryTimestamp( ServiceContext* serviceCtx) const { - return serviceCtx->getGlobalStorageEngine()->getRecoveryTimestamp(); + return serviceCtx->getStorageEngine()->getRecoveryTimestamp(); } Status StorageInterfaceImpl::isAdminDbValid(OperationContext* opCtx) { @@ -1131,7 +1131,7 @@ boost::optional<Timestamp> StorageInterfaceImpl::getLastStableCheckpointTimestam return boost::none; } - const auto ret = serviceCtx->getGlobalStorageEngine()->getLastStableCheckpointTimestamp(); + const auto ret = serviceCtx->getStorageEngine()->getLastStableCheckpointTimestamp(); if (ret == boost::none) { return Timestamp::min(); } |