[SERVER-76526] Remove cached redacted query from TelemetryMetrics Created: 25/Apr/23 Updated: 04/May/23 Resolved: 27/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | Maddie Zechar |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Assigned Teams: |
Query Optimization
|
||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
It was decided during design review that the memory overhead of this is not worth the time saved - since we expect to only compute it once per day.
Here it is in the code: https://github.com/10gen/mongo/blob/27a8e30e8aa02d3f3be35630b970c7b903d1d186/src/mongo/db/query/telemetry.h#L172 |