diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2022-01-28 18:48:05 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-02-02 22:46:04 +0000 |
commit | bd7656e4451b3a0aa19a6616e78fd9a6ae5021e3 (patch) | |
tree | 9b9c0ae8f34197fa8ab194dd644a4a738fd17ff8 /src/mongo/db/storage/devnull | |
parent | 073c6a2ce8809aeea6e2e35d3f6cdb006ef66765 (diff) | |
download | mongo-bd7656e4451b3a0aa19a6616e78fd9a6ae5021e3.tar.gz |
SERVER-62608 Add 'forRestore' option to StorageEngineOptions
Diffstat (limited to 'src/mongo/db/storage/devnull')
-rw-r--r-- | src/mongo/db/storage/devnull/devnull_init.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/storage/devnull/devnull_init.cpp b/src/mongo/db/storage/devnull/devnull_init.cpp index a1e92f016d7..88cc9cac0b6 100644 --- a/src/mongo/db/storage/devnull/devnull_init.cpp +++ b/src/mongo/db/storage/devnull/devnull_init.cpp @@ -48,6 +48,7 @@ public: StorageEngineOptions options; options.directoryPerDB = params.directoryperdb; options.forRepair = params.repair; + options.forRestore = params.restore; options.lockFileCreatedByUncleanShutdown = lockFile && lockFile->createdByUncleanShutdown(); return std::make_unique<StorageEngineImpl>( opCtx, std::make_unique<DevNullKVEngine>(), options); |