[SERVER-75272] Improve performance of checking if telemetry store size is 0 Created: 24/Mar/23  Updated: 29/Oct/23  Resolved: 06/Apr/23

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

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Jess Balint
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-85055 Tracking: M1 Performance improvement ... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-04-03, QO 2023-04-17
Participants:

 Description   

The way it's implemented right now does some unnecessary re-parsing of the setParameter, and we could just directly check the size of the telemetry store.



 Comments   
Comment by Githook User [ 05/Apr/23 ]

Author:

{'name': 'Jess Balint', 'email': 'jbalint@gmail.com', 'username': 'jbalint'}

Message: SERVER-75272 remove the telemetry store size check which parses the query knob during every shouldCollect() call
Branch: master
https://github.com/mongodb/mongo/commit/714f743f438bb7ded54a4c8693ba9ccf85954dfb

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