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

Make analyzeShardKey command include all records in the monotonicity check

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding NYC 2023-03-20

      Due to performance considerations, SERVER-68753 made it such that when multiple record ids have the same shard key value, only the id for one of the records is added to the list of record ids to calculate the coefficient coefficient for. This may be good for performance to some extent since it decreases the number of data points in the correlation coefficient calculation. However, as shown in SERVER-74338, it has a non-negligible impact on the accuracy of the check.  

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: