Remove the unnecessary check from tenant_migration_util ::validateDatabasePrefix once we accept tenantID as type "tenant_id".

XMLWordPrintableJSON

    • Service Arch
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We added this check to catch test cases that passes tenantID as `kTenantIdPrefix + "_0"` (which caused access blocker malfunction) . As part of PM-2346 (Native Tenant Data Isolation support), we are changing the tenant migration/shard split related code (SERVER-71179, SERVER-71184) to use tenantID as type "tenant_id" rather than "std::string". So, we no longer need to worry about the Cloud/test doing a foul play while sending the tenantID to the server.

              Assignee:
              [DO NOT USE] Backlog - Service Architecture
              Reporter:
              Suganthi Mani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: