summaryrefslogtreecommitdiff
path: root/src/mongo/db/active_index_builds.cpp
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2021-01-14 09:59:29 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-14 15:23:08 +0000
commitbca33aab033bca160fd7b604de72dcd28feb0fb2 (patch)
treeba8f314f58ae09e633db7930a831ce6945ebfac3 /src/mongo/db/active_index_builds.cpp
parent1522b29e65bffd4c438756e5202aef062410864d (diff)
downloadmongo-bca33aab033bca160fd7b604de72dcd28feb0fb2.tar.gz
SERVER-51048 Clean up resumable index build log messages
Diffstat (limited to 'src/mongo/db/active_index_builds.cpp')
-rw-r--r--src/mongo/db/active_index_builds.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/active_index_builds.cpp b/src/mongo/db/active_index_builds.cpp
index d9195ca23d9..bfacd4a7b95 100644
--- a/src/mongo/db/active_index_builds.cpp
+++ b/src/mongo/db/active_index_builds.cpp
@@ -133,8 +133,10 @@ void ActiveIndexBuilds::unregisterIndexBuild(
LOGV2_DEBUG(4656004,
1,
- "Index build: Unregistering",
- "buildUUID"_attr = replIndexBuildState->buildUUID);
+ "Index build: unregistering",
+ "buildUUID"_attr = replIndexBuildState->buildUUID,
+ "collectionUUID"_attr = replIndexBuildState->collectionUUID);
+
indexBuildsManager->unregisterIndexBuild(replIndexBuildState->buildUUID);
_indexBuildsCompletedGen++;
_indexBuildsCondVar.notify_all();