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

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

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: