Prevent analyzeShardKeyNumRanges from being set to 1

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • ClusterScalability Jul21-Aug3
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the analyzeShardKeyNumRanges server parameter can be set to 1. But having one chunk range means that there are no split points to generate. The calculation of the read/write distribution metrics in the analyzeShardKey command currently cannot handle the case where there are no split points since the $analyzeShardKeyReadWriteDistribution stage requires specifying splitPointsAfterClusterTime, which would only be available if there were split point documents to insert.

      As part of this ticket, we should add analyzeShardKeyNumRanges to the fuzzer suites.

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

              Created:
              Updated:
              Resolved: