summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/tenant_migration_access_blocker_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/tenant_migration_access_blocker_registry.h')
-rw-r--r--src/mongo/db/repl/tenant_migration_access_blocker_registry.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/repl/tenant_migration_access_blocker_registry.h b/src/mongo/db/repl/tenant_migration_access_blocker_registry.h
index 51f06185868..2d6c588a883 100644
--- a/src/mongo/db/repl/tenant_migration_access_blocker_registry.h
+++ b/src/mongo/db/repl/tenant_migration_access_blocker_registry.h
@@ -95,6 +95,12 @@ public:
* Invariants that an entry for tenantId exists, and then removes the entry for (tenantId, mtab)
*/
void remove(StringData tenantId, TenantMigrationAccessBlocker::BlockerType type);
+ void _remove(WithLock, StringData tenantId, TenantMigrationAccessBlocker::BlockerType type);
+
+ /**
+ * Removes all mtabs of the given type.
+ */
+ void removeAll(TenantMigrationAccessBlocker::BlockerType type);
/**
* Iterates through each of the TenantMigrationAccessBlockers and