[SERVER-81283] Rename query_stats::KeyGenerator to just query_stats::Key Created: 20/Sep/23  Updated: 29/Oct/23  Resolved: 10/Oct/23

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

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Santiago Roche
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-85065 Tracking: M3 Tech Debt Tickets Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-10-16
Participants:

 Description   

Discussed with will.buerger@mongodb.com how the existing "KeyGenerator" name is not unique to query stats and how 'Key' will suffice to get the point across. To better align with this name, we should rename the 'generate()' API - I propose 'toBson()' to match the query_shape::Shape API.



 Comments   
Comment by Githook User [ 09/Oct/23 ]

Author:

{'name': 'Santiago Roche', 'email': 'santiago.roche@mongodb.com', 'username': ''}

Message: SERVER-81283: Rename query_stats::KeyGenerator to query_stats::Key.
Branch: master
https://github.com/mongodb/mongo/commit/04261bfe33717e040c254a94dca2c8ad9e6bd20d

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