diff options
author | Yu Jin Kang Park <yujin.kang@mongodb.com> | 2023-02-23 12:46:55 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-02-23 15:25:22 +0000 |
commit | 394c3b59851680d8035754bb9bad171cd48e9689 (patch) | |
tree | 995996439248a9599994de1aea6905445ddd8e90 /src/mongo/db/catalog/index_builds_manager.h | |
parent | b226016300037acfe32578255de89a14631d1d6c (diff) | |
download | mongo-394c3b59851680d8035754bb9bad171cd48e9689.tar.gz |
SERVER-73294 Signal primary node for aborting index builds on failure
Diffstat (limited to 'src/mongo/db/catalog/index_builds_manager.h')
-rw-r--r-- | src/mongo/db/catalog/index_builds_manager.h | 5 |
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.. |