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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding NYC 2023-08-21
    • 35

      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.  

            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: