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

DocumentSourceCursor should store namespace as NamespaceString

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.2, 3.5.1
    • Aggregation Framework
    • None
    • Fully Compatible
    • Query 2017-01-23
    • 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

            james.wahlin@mongodb.com James Wahlin
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: