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

DocumentSourceCursor should store namespace as NamespaceString

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.2, 3.5.1
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Completed:
    • Sprint:
      Query 2017-01-23
    • Linked BF Score:
      0

      Description

      DocumentSourceCursor takes a std::string at construction and copies to a std::string member. This string is then used to create a NamespaceString object on each serialize() and loadBatch() call. Creating the NamespaceString at construction (in place of the std::string) will allow for reuse and improve performance.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: