[SERVER-77262] Track queries on non-existent collections in query stats Created: 18/May/23  Updated: 29/Oct/23  Resolved: 26/Jun/23

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

Type: New Feature Priority: Major - P3
Reporter: Charlie Swanson Assignee: Maddie Zechar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-85075 Tracking: Milestone 2 Closed
is depended on by SERVER-85099 Tracking: Milestone 1 Closed
is depended on by SERVER-85105 Tracking: PM-2885 Milestone 0 Closed
Related
related to SERVER-71987 Add collection type to telemetry key Closed
related to SERVER-78459 Complete TODO listed in SERVER-77262 Closed
is related to SERVER-75912 Telemetry on view queries should stor... Closed
is related to SERVER-76042 Avoid re-parsing match, sort and proj... Closed
Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-06-26
Participants:

 Description   

We currently skip recording query shape stats if the collection doesn't exist. It might be worth doing this in the future. If we do, there would be a new collection type. Currently we have "collection", "view", or "timeseries" - this would probably add a "non-existent" possibility, or some similar string.

 



 Comments   
Comment by Githook User [ 26/Jun/23 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: SERVER-77262 Track queries on non-existent collections in query stats

Co-authored-by: Maddie Zechar <maddie.zechar@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/8d451fd0671b0d801ddf4564418973fb2e387a42

Comment by Githook User [ 26/Jun/23 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: Revert "SERVER-77262 Track queries on non-existent collections in query stats"

This reverts commit 9e94bbd6149ebbbfb8473a539a0aade98267df01.
Branch: master
https://github.com/mongodb/mongo/commit/069323aa15675b047173ba09d5bfbec852b36fb1

Comment by Githook User [ 22/Jun/23 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: SERVER-77262 Track queries on non-existent collections in query stats

Co-authored-by: Charlie Swanson <charlie.swanson@mongodb.com>
(cherry picked from commit 3a3acfc4501ceef05320d73158fb67351133b924)
Branch: master
https://github.com/mongodb/mongo/commit/9e94bbd6149ebbbfb8473a539a0aade98267df01

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