Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-75237

Refactor TenantMigrationAccessBlockerRegistry and Utils

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-04-17, Server Serverless 2023-05-01

      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)

       

            Assignee:
            didier.nadeau@mongodb.com Didier Nadeau
            Reporter:
            didier.nadeau@mongodb.com Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: