• Type: Sub-task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      There's a bunch of functions which take copies of NamespaceString objects for no reason, and in the hot path these add up. Use const references instead when it's safe to do so.

       

      See:

      src/mongo/db/curop.h

      src/mongo/db/commands.cpp

      src/mongo/db/op_observer/op_observer_impl.h

            Assignee:
            Colin Stolley
            Reporter:
            Colin Stolley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: