diff options
author | Kyle Suarez <kyle.suarez@mongodb.com> | 2018-03-21 12:19:44 -0400 |
---|---|---|
committer | Kyle Suarez <kyle.suarez@mongodb.com> | 2018-03-21 12:19:44 -0400 |
commit | 0d409c4d63afb585b329187ff904be9068df9466 (patch) | |
tree | b6e8eb10c578315f9a2a0335f9ace4b46b434489 /src/mongo/db/dbhelpers.h | |
parent | c06253cf734b0d5bde34f3aadefc091bfaefcfe1 (diff) | |
download | mongo-0d409c4d63afb585b329187ff904be9068df9466.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; |