Make analyzeShardKey command return the frequency of top 5 most common shard key values instead of percentiles

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding NYC
    • Fully Compatible
    • Sharding NYC 2023-03-06, Sharding NYC 2023-03-20, Sharding NYC 2023-04-03, Sharding NYC 2023-04-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      From the design:

      mostCommonValues: [
            // Top 5 most common shard key values. To avoid exceeding the 16MB
            // limit for the response, the values would be truncated if they
            // exceed a certain size.
            {value: <shardkey>, frequency: <integer>},
            ...
      ]
      

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

                Created:
                Updated:
                Resolved: