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

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

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

      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@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: