Tenant migration access blocker get by DB name may return a wrong one

XMLWordPrintableJSON

    • ALL
    • Sharding 2021-03-08, Sharding 2021-03-22
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Just looking at the code the method `getTenantMigrationAccessBlockerForDbName()` may return a wrong blocker.

      Example: if we have unrelated tenants 'joe' and 'joe_doe' requesting a blocker for DB that belongs to tenant 'joe_doe' and has prefix 'joe_doe_' may actually return a first blocker for tenant 'joe' because the literal prefix 'joe_' will match the DB name.

            Assignee:
            Andrew Shuvalov (Inactive)
            Reporter:
            Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: