diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-07-24 10:42:48 -0400 |
---|---|---|
committer | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-07-24 10:42:48 -0400 |
commit | 68be3d2abf4df873bd1355f7bfd6e086a6d0b173 (patch) | |
tree | 68273db10b3985f3348555fd5e2a9eaf1f6b44ac /src/mongo/db/storage/devnull/devnull_kv_engine.h | |
parent | fbd991a76e141a2744b18f3f9954f345136bba6b (diff) | |
download | mongo-68be3d2abf4df873bd1355f7bfd6e086a6d0b173.tar.gz |
SERVER-36200: Add backup cursor service foundation. Have fsync command use it.
Diffstat (limited to 'src/mongo/db/storage/devnull/devnull_kv_engine.h')
-rw-r--r-- | src/mongo/db/storage/devnull/devnull_kv_engine.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/storage/devnull/devnull_kv_engine.h b/src/mongo/db/storage/devnull/devnull_kv_engine.h index df356cfaae1..39ea0a1b221 100644 --- a/src/mongo/db/storage/devnull/devnull_kv_engine.h +++ b/src/mongo/db/storage/devnull/devnull_kv_engine.h @@ -123,6 +123,12 @@ public: return Timestamp(); } + virtual Status beginBackup(OperationContext* opCtx) override { + return Status::OK(); + } + + virtual void endBackup(OperationContext* opCtx) {} + private: std::shared_ptr<void> _catalogInfo; |