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

Investigate if using std::shared_ptr<FindCommandRequest> can help speed up query shape stats collection

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • ALL

      From a code review comment on SERVER-76042:

         FindCommandRequest _request;  // We make a copy of FindCommandRequest
      

      jacob.evans@mongodb.com: how else would we do this? should we be thinking of a shared_ptr rather than copying?

      let's attempt that in this ticket and see if it shows up in the numbers.

            Assignee:
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: