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

Wait for active sampling in mongos as well as mongod in query_sampling_after_resharding.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • 0

      Currently, we only check that the mongod query analyzer has an updated collection UUID in its query analyzer document. We want to check this for mongos too in order to successfully detect the following find query in the test successfully as well as ensure there is a sleep to refill the mongos' tokens. We can do this using QuerySamplingUtil::waitForActiveSampling.

            Assignee:
            jane.tio@mongodb.com Jane Tio
            Reporter:
            jane.tio@mongodb.com Jane Tio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: