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

Make analyze_shard_key.js not assert that the number of sampled queries observed via analyzeShardKey and $listSampledQueries is non-decreasing

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.1
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding NYC 2023-08-21
    • 35

    Description

      This check depends on causal consistency. The shell doesn't attach readConcern (and therefore "afterClusterTime") to read commands other than the ones in this list. That should be why causal consistency was violated. It looks like SERVER-31743 is supposed to make this list include other commands. For now, this assertion is not expected to always succeed and so should be removed.  

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: