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

Improve NamespaceStringOrUUID API

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution

    Description

      The API exposes two different ways to access the underlying namespace or UUID:

      • As an optional value, which causes an extra memory allocation and copy
      • As a raw pointer

      We should really consolidate this API into either:

      • A hasNss/Uuuid() function and a getNss/Uuid() function
      • Typedef NamespaceStringOrUUID as a stdx::variant

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: