summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/multi_index_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/multi_index_block.h')
-rw-r--r--src/mongo/db/catalog/multi_index_block.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/multi_index_block.h b/src/mongo/db/catalog/multi_index_block.h
index 54b12fb622a..9c82ceb9a3c 100644
--- a/src/mongo/db/catalog/multi_index_block.h
+++ b/src/mongo/db/catalog/multi_index_block.h
@@ -310,6 +310,13 @@ private:
const BSONObj& doc,
unsigned long long iteration) const;
+ const IndexCatalogEntry* _findSmallestReferenceIdx(OperationContext* opCtx,
+ const CollectionPtr& collection) const;
+
+ Status _scanReferenceIdxInsertAndCommit(OperationContext* opCtx,
+ const CollectionPtr& collection,
+ const IndexCatalogEntry* refIdx);
+
// Is set during init() and ensures subsequent function calls act on the same Collection.
boost::optional<UUID> _collectionUUID;
@@ -319,6 +326,8 @@ private:
bool _ignoreUnique = false;
+ std::size_t _eachIndexBuildMaxMemoryUsageBytes = 0;
+
// Set to true when no work remains to be done, the object can safely destruct without leaving
// incorrect state set anywhere.
bool _buildIsCleanedUp = true;