[SERVER-71186] Tenant migration access blocker registry to use TenantId object for Shard Split Created: 08/Nov/22  Updated: 29/Oct/23  Resolved: 13/Dec/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Mathis Bessa Assignee: Mathis Bessa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-70913 Investigate changes needed to ShardSp... Closed
related to SERVER-71669 Remove TODO to no longer use StringDa... Closed
related to SERVER-71673 Refactor TenantMigrationAccessBlocker... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-12-12, Server Serverless 2022-12-26
Participants:

 Description   

Change the tenant_migration_access_blocker_util and the tenant_migration_access_blocker_registry to use a vector<tenant_id> instead of the vector<string> and all other places where we use StringData instead of a TenantId object. The unit tests should also be changed. In case of this ticket done asynchronously we should have support for both TenantId object and StringData until the other tickets are done. We can either mark the change blocked + depend on; or we can create a TODO ticket to delete the old api still using StringData over TenantId.

We should also identify and create a TODO ticket (SERVER-71669) as part of this work to identify any place that will be left still using a StringData for backward compatibility with MTM and Shard Merge (since both protocol are still using a StringData type).

We cannot fully modify the TenantMigrationAccessBlockerRegistry until all migration protocol are moved to use TenantId, therefor SERVER-71673 was created to handle the refactoring to only use TenantId.



 Comments   
Comment by Githook User [ 13/Dec/22 ]

Author:

{'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-71186 Tenant migration access blocker registry to use TenantId object for Shard Split
Branch: master
https://github.com/mongodb/mongo/commit/2310a312d7dfdb5934ca2bc2a5277b5f6270a6a5

Generated at Thu Feb 08 06:18:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.