[SERVER-72081] Change the access blocker registry data structure to key on TenantId objects Created: 13/Dec/22  Updated: 29/Oct/23  Resolved: 15/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.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:
Depends
is depended on by SERVER-71669 Remove TODO to no longer use StringDa... Closed
Duplicate
is duplicated by SERVER-68974 Have tenant_migration_access_blocker ... Closed
is duplicated by SERVER-71673 Refactor TenantMigrationAccessBlocker... Closed
Related
is related to SERVER-73114 Investigate changes needed to ShardMe... Closed
is related to SERVER-74967 Tenant Migration Protocol to fail wit... Closed
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-03-06, Server Serverless 2023-03-20
Participants:

 Description   

We are currently using a StringMap for _tenantMigrationAccessBlockers. This is because the mapping is using a string object for the tenantid.

We are moving to no longer use a StringData for a tenantId and instead use the TenantId object.

This ticket is to change _tenantMigrationAccessBlockers to use a TenantId object instead of a StringData.

As part of this ticket we should also make any update to the API to use TenantId instead of StringData (such as here for example).



 Comments   
Comment by Githook User [ 15/Mar/23 ]

Author:

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

Message: SERVER-72081 Change the access blocker registry data structure to key on TenantId objects
Branch: master
https://github.com/mongodb/mongo/commit/c366ca4663e78f7c72034ca6411d2ef65c134675

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