[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: |
|
||||||||
| 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: |