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

Do not treat tenantId as string in DatabaseName::equalCaseInsensitive

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-09-19

      Today, DatabaseName::equalCaseInsensitive compares the tenantIds as strings. This makes it such that two DatabaseName objects that look like:
      DatabaseName1 =

      {tenantId = boost::none, dbName = "sometenantId_dbName"}

      DatabaseName2 =

      {tenantId = sometenantId dbName = "dbName"}

      will compare as the same.

            Assignee:
            adi.agrawal@mongodb.com Adi Agrawal
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: