summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_builds_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/index_builds_manager.h')
-rw-r--r--src/mongo/db/catalog/index_builds_manager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/index_builds_manager.h b/src/mongo/db/catalog/index_builds_manager.h
index da7de14dca3..2578ebad272 100644
--- a/src/mongo/db/catalog/index_builds_manager.h
+++ b/src/mongo/db/catalog/index_builds_manager.h
@@ -92,9 +92,10 @@ public:
const boost::optional<ResumeIndexInfo>& resumeInfo = boost::none);
/**
- * Unregisters the builder associated with the given buildUUID from the _builders map.
+ * Unregisters the builder associated with the given buildUUID from the _builders map, causing
+ * the index build in-memory state to be destroyed.
*/
- void unregisterIndexBuild(const UUID& buildUUID);
+ void tearDownAndUnregisterIndexBuild(const UUID& buildUUID);
/**
* Runs the scanning/insertion phase of the index build..