diff options
author | Benety Goh <benety@mongodb.com> | 2021-06-15 12:47:34 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-15 17:12:09 +0000 |
commit | 4f929f5bcbd13f2dbd347b27c2b3ee0e8abfa417 (patch) | |
tree | 269cf78db6019dfff67f32e309d0b64157299843 /src/mongo/db/index_build_entry_helpers.h | |
parent | 80fad147597bf47f77980ced8f3dbbc937d95435 (diff) | |
download | mongo-4f929f5bcbd13f2dbd347b27c2b3ee0e8abfa417.tar.gz |
SERVER-48524 indexbuildentryhelpers::removeIndexBuildEntry() accepts CollectionPtr
Diffstat (limited to 'src/mongo/db/index_build_entry_helpers.h')
-rw-r--r-- | src/mongo/db/index_build_entry_helpers.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/index_build_entry_helpers.h b/src/mongo/db/index_build_entry_helpers.h index 594ad6ee8e4..454c88b6214 100644 --- a/src/mongo/db/index_build_entry_helpers.h +++ b/src/mongo/db/index_build_entry_helpers.h @@ -34,6 +34,7 @@ namespace mongo { class IndexBuildEntry; +class CollectionPtr; class CommitQuorumOptions; class OperationContext; class Status; @@ -105,7 +106,9 @@ Status addIndexBuildEntry(OperationContext* opCtx, const IndexBuildEntry& indexB * * Returns 'NoMatchingDocument' error code if no document with 'indexBuildUUID' is found. */ -Status removeIndexBuildEntry(OperationContext* opCtx, UUID indexBuildUUID); +Status removeIndexBuildEntry(OperationContext* opCtx, + const CollectionPtr& collection, + UUID indexBuildUUID); /** * Returns the IndexBuildEntry matching the document with 'indexBuildUUID' from the disk if it |