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

Make NamespaceString inherit from DatabaseName

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Service Arch 2024-01-08, Service Arch 2024-01-22, Service Arch 2024-02-05
    • 6

      This change should improve performance as we can return a reference from `dbName()` (rather than allocate a new object with its underlying string) when retrieving the DatabaseName from a NamespaceString. Sub-goal : fix a bug in DatabaseName::equalCaseInsensitive . It should compare the database names without being case sensitive, but it should be case-sensitive when comparing TenantId.

            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: