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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: