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

Introduce view types for DatabaseName

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Service Arch 2023-11-27, Service Arch 2023-12-11, Service Arch 2023-12-25, Service Arch 2024-01-08, Service Arch 2024-01-22

      We have recently made changes to prefer DatabaseName over std::string when referring to databases throughout the codebase, which has in some cases introduced new allocations. We should introduce a new DatabaseNameView type, mirroring the optimization of using StringData when database names were passed as std::string.

            Assignee:
            didier.nadeau@mongodb.com Didier Nadeau
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: