summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/storage_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/storage_engine.h')
-rw-r--r--src/mongo/db/storage/storage_engine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/storage/storage_engine.h b/src/mongo/db/storage/storage_engine.h
index 579f7d2a131..57fced623c2 100644
--- a/src/mongo/db/storage/storage_engine.h
+++ b/src/mongo/db/storage/storage_engine.h
@@ -365,6 +365,11 @@ public:
*/
virtual Timestamp getAllCommittedTimestamp() const = 0;
+ /**
+ * Returns the path to the directory which has the data files of database with `dbName`.
+ */
+ virtual std::string getFilesystemPathForDb(const std::string& dbName) const = 0;
+
protected:
/**
* The destructor will never be called. See cleanShutdown instead.