Rename the 'sampleRate' option for configureQueryAnalyzer command to 'samplesPerSecond'

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.0-rc6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v7.0
    • Sharding NYC 2023-06-26, Sharding NYC 2023-07-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-78265 is adding new options to 'sampleRate' and 'sampleSize' to the analyzeShardKey command, where 'sampleRate' is a double in range (0, 1] representing the proportion of the documents in the collection to sample. This definition aligns with what other commands use (e.g. the profiler and analyze command). For usability purposes, the 'sampleRate' option for the configureQueryAnalyzer command should be renamed to 'samplesPerSecond' so it is self-explanatory and cannot be confused with the 'sampeRate' option for the analyzeShardKey command which belongs to the same feature being introduced in PM-1858.

              Assignee:
              Cheahuychou Mao
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: