diff options
author | Kyle Suarez <kyle.suarez@mongodb.com> | 2018-03-20 15:30:41 -0400 |
---|---|---|
committer | Kyle Suarez <kyle.suarez@mongodb.com> | 2018-03-20 15:43:29 -0400 |
commit | 76cef6675d80ab57b98af11e6e47868a60e11cbb (patch) | |
tree | 6cdf9c90415265502ae25c436d894ce5d781e7d0 /src/mongo/db/dbhelpers.h | |
parent | 2ee6908f1c73dd50d6425e3462ccac2582deb2f3 (diff) | |
download | mongo-76cef6675d80ab57b98af11e6e47868a60e11cbb.tar.gz |
SERVER-29051 create data files during rollback via recover to timestamp
Diffstat (limited to 'src/mongo/db/dbhelpers.h')
-rw-r--r-- | src/mongo/db/dbhelpers.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/dbhelpers.h b/src/mongo/db/dbhelpers.h index 0166a413041..75699cbafa8 100644 --- a/src/mongo/db/dbhelpers.h +++ b/src/mongo/db/dbhelpers.h @@ -166,6 +166,14 @@ struct Helpers { */ Status goingToDelete(const BSONObj& o); + std::string directoryName() const { + return _root.generic_string(); + } + + std::string fileName() const { + return _file.generic_string(); + } + private: boost::filesystem::path _root; boost::filesystem::path _file; |