summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_build_entry_helpers.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-06-15 12:47:34 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-15 17:12:09 +0000
commit4f929f5bcbd13f2dbd347b27c2b3ee0e8abfa417 (patch)
tree269cf78db6019dfff67f32e309d0b64157299843 /src/mongo/db/index_build_entry_helpers.cpp
parent80fad147597bf47f77980ced8f3dbbc937d95435 (diff)
downloadmongo-4f929f5bcbd13f2dbd347b27c2b3ee0e8abfa417.tar.gz
SERVER-48524 indexbuildentryhelpers::removeIndexBuildEntry() accepts CollectionPtr
Diffstat (limited to 'src/mongo/db/index_build_entry_helpers.cpp')
-rw-r--r--src/mongo/db/index_build_entry_helpers.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/index_build_entry_helpers.cpp b/src/mongo/db/index_build_entry_helpers.cpp
index a3374a2e7b7..a72482e00ab 100644
--- a/src/mongo/db/index_build_entry_helpers.cpp
+++ b/src/mongo/db/index_build_entry_helpers.cpp
@@ -245,7 +245,9 @@ Status addIndexBuildEntry(OperationContext* opCtx, const IndexBuildEntry& indexB
});
}
-Status removeIndexBuildEntry(OperationContext* opCtx, UUID indexBuildUUID) {
+Status removeIndexBuildEntry(OperationContext* opCtx,
+ const CollectionPtr& collectionUnused,
+ UUID indexBuildUUID) {
return writeConflictRetry(
opCtx,
"removeIndexBuildEntry",