Make tests wait for query sampling to become inactive on both mongoses and mongods before running analyzeShardKey command

XMLWordPrintableJSON

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

      If query sampling is still active, the internal aggregate queries that the analyzeShardKey command could end up getting sampled, causing the metrics to be incorrect.

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

              Created:
              Updated:
              Resolved: