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

Use NamespaceString consistently in CRUD path

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • None
    • Query
    • 0

    Description

      Currently the CRUD command path uses a mix of NamespaceString and std::string to represent namespaces and can construct objects representing the same namespace multiple times over a commands lifetime. We should make use of NamespaceString (replacing std::string) consistently and pass rather than reconstruct where possible to avoid the cost of string creation.

      (A similar request (SERVER-18137) is in place for sharding)

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: