[SERVER-75237] Refactor TenantMigrationAccessBlockerRegistry and Utils Created: 23/Mar/23  Updated: 29/Oct/23  Resolved: 29/Apr/23

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

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

Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-04-17, Server Serverless 2023-05-01
Participants:

 Description   

Following successive modifications for Shard Split/Shard Merge, the API to used access blockers is confusing. There are some functions duplicated between the registry itself and tenant_migration_access_blocker_util.h. We should do a review of these functions to ensure :

  • Minimize the number of different functions
  • Ensure the API is coherent (functions similar should be grouped in the registry OR the util but not spread in both)
  • Ensure comprehensive unit test coverage (currently spread across tenant_migration_access_blocker_registry_test.cpp and tenant_migration_access_blocker_util_test.cpp)

 



 Comments   
Comment by Githook User [ 28/Apr/23 ]

Author:

{'name': 'Didier Nadeau', 'email': 'didier.nadeau@mongodb.com', 'username': 'nadeaudi'}

Message: SERVER-75237 Refactor TenantMigrationAccessBlockerRegistry and Utils
Branch: master
https://github.com/mongodb/mongo/commit/7586f0a956f278708c90299fedf1d40991540768

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