summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/durable_catalog_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/durable_catalog_impl.h')
-rw-r--r--src/mongo/db/storage/durable_catalog_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/storage/durable_catalog_impl.h b/src/mongo/db/storage/durable_catalog_impl.h
index b24816d333d..9b8fad96825 100644
--- a/src/mongo/db/storage/durable_catalog_impl.h
+++ b/src/mongo/db/storage/durable_catalog_impl.h
@@ -92,6 +92,8 @@ public:
bool isInternalIdent(StringData ident) const;
+ bool isResumableIndexBuildIdent(StringData ident) const;
+
bool isCollectionIdent(StringData ident) const;
FeatureTracker* getFeatureTracker() const {
@@ -108,6 +110,7 @@ public:
std::string getFilesystemPathForDb(const std::string& dbName) const;
std::string newInternalIdent();
+ std::string newInternalResumableIndexBuildIdent();
StatusWith<std::pair<RecordId, std::unique_ptr<RecordStore>>> createCollection(
OperationContext* opCtx,
@@ -229,6 +232,8 @@ private:
*/
std::string _newUniqueIdent(NamespaceString nss, const char* kind);
+ std::string _newInternalIdent(StringData identStem);
+
// Helpers only used by constructor and init(). Don't call from elsewhere.
static std::string _newRand();
bool _hasEntryCollidingWithRand() const;