[SERVER-77282] Investigate unneccessary op_metrics target dependencies Created: 18/May/23  Updated: 29/Oct/23  Resolved: 21/Sep/23

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

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

Issue Links:
Depends
Assigned Teams:
Query Integration
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Originally, the `op_metrics` packaged together query_stats.cpp and curop.cpp, so there were many targets that depended on `op_metrics` because of curop. Now that curop.cpp is not included in the target, there seem to be at least a couple targets that still depend on `op_metrics` but don't need to. We should investigate those and remove unused dependencies.

We could also consider renaming the target since `op_metrics` is broader than its current purpose just with query_stats.



 Comments   
Comment by Githook User [ 21/Sep/23 ]

Author:

{'name': 'Mariano Shaar', 'email': 'mariano.shaar@mongodb.com', 'username': 'shaargtz'}

Message: SERVER-77282 Remove unnecessary query_stats target dependencies
Branch: master
https://github.com/mongodb/mongo/commit/626d628591ae86a1c857032cb2ca1c0a7c662d64

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