diff options
author | William Schultz <william.schultz@mongodb.com> | 2017-08-17 16:35:07 -0400 |
---|---|---|
committer | William Schultz <william.schultz@mongodb.com> | 2017-08-17 16:35:07 -0400 |
commit | 28c94950e960688fa6f7ac8af12c32c8e9e8ed9c (patch) | |
tree | 1f6dbac33142d21136cf9bfc8a006e19dc85acb5 /src/mongo/db/repl/storage_interface.h | |
parent | ecfdeb1bbe8979586bd841a07f47de748c1b4094 (diff) | |
download | mongo-28c94950e960688fa6f7ac8af12c32c8e9e8ed9c.tar.gz |
SERVER-29898 Change StorageEngine args to ServiceContext args
Diffstat (limited to 'src/mongo/db/repl/storage_interface.h')
-rw-r--r-- | src/mongo/db/repl/storage_interface.h | 7 |
1 files changed, 3 insertions, 4 deletions
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 |