summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_build_entry_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index_build_entry_helpers.h')
-rw-r--r--src/mongo/db/index_build_entry_helpers.h5
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