From 28c94950e960688fa6f7ac8af12c32c8e9e8ed9c Mon Sep 17 00:00:00 2001 From: William Schultz Date: Thu, 17 Aug 2017 16:35:07 -0400 Subject: SERVER-29898 Change StorageEngine args to ServiceContext args --- src/mongo/db/repl/storage_interface.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/mongo/db/repl/storage_interface.h') diff --git a/src/mongo/db/repl/storage_interface.h b/src/mongo/db/repl/storage_interface.h index 8e37194b7a7..764bdcadad3 100644 --- a/src/mongo/db/repl/storage_interface.h +++ b/src/mongo/db/repl/storage_interface.h @@ -280,14 +280,13 @@ public: * Sets the highest timestamp at which the storage engine is allowed to take a checkpoint. * This timestamp can never decrease, and thus should be a timestamp that can never roll back. */ - virtual void setStableTimestamp(StorageEngine* storageEngine, SnapshotName snapshotName) = 0; + virtual void setStableTimestamp(ServiceContext* serviceCtx, SnapshotName snapshotName) = 0; /** * Tells the storage engine the timestamp of the data at startup. This is necessary because * timestamps are not persisted in the storage layer. */ - virtual void setInitialDataTimestamp(StorageEngine* storageEngine, - SnapshotName snapshotName) = 0; + virtual void setInitialDataTimestamp(ServiceContext* serviceCtx, SnapshotName snapshotName) = 0; /** * Reverts the state of all database data to the last stable timestamp. @@ -298,7 +297,7 @@ public: * * The 'stable' timestamp is set by calling StorageInterface::setStableTimestamp. */ - virtual Status recoverToStableTimestamp(StorageEngine* storageEngine) = 0; + virtual Status recoverToStableTimestamp(ServiceContext* serviceCtx) = 0; }; } // namespace repl -- cgit v1.2.1