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

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

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

      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@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: