Details
-
Task
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
-
Sharding
-
Sharding 2020-07-13, Sharding 2020-06-29
Description
Add a function DatabaseHolder::updateMigratingTenantAccessBlockersForDatabasesMatching(StringData dbPrefix).
The method should check if MigratingTenantAccessBlockerByPrefix has an entry for the passed-in prefix, and if so, iterate all databases. For each database, if the database's name matches the prefix, it should set the database's MigratingTenantAccessBlocker decoration to the entry's MigratingTenantAccessBlocker.
This method is similar to DatabaseHolder::getNamesWithConflictingCasing.
Attachments
Issue Links
- depends on
-
SERVER-49171 [optimization] Optimize access to MigratingTenantAccessBlockers for better concurrency
-
- Closed
-