[SERVER-79828] Only compute query shape for mongos find command when necessary Created: 08/Aug/23  Updated: 29/Oct/23  Resolved: 08/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Will Buerger Assignee: Will Buerger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-85094 Tracking: M0 performance data gathering Closed
Backwards Compatibility: Fully Compatible
Sprint: QI 2023-08-21
Participants:

 Description   

Right now, the command is parsed and the query shape is computed even when we're not collecting query stats. This is skewing the numbers since the "baseline" variant is including time spent computing the query shape



 Comments   
Comment by Githook User [ 08/Aug/23 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-79828: Only compute query shape for mongos find command when necessary
Branch: master
https://github.com/mongodb/mongo/commit/b64f143873b2caacb1ff3dcb7f59b4aa49b6bada

Generated at Thu Feb 08 06:42:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.