Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-81283

Rename query_stats::KeyGenerator to just query_stats::Key

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2023-10-16

    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.

      Attachments

        Activity

          People

            santiago.roche@mongodb.com Santiago Roche
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: