Make query sampling jstests check namespace and collection uuid when waiting for sampling to become active and inactive

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding NYC 2023-05-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the helpers for waiting for query sampling to become active or inactive relies on checking that serverStatus "activeCollections" is >= 1 or = 0, respectively. This won't work for the test in SERVER-76296 where the collection is dropped and recreated or renamed (which causes the namespace or collection uuid to change). 

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

              Created:
              Updated:
              Resolved: