[SERVER-74378] Make tests wait for query sampling to become inactive on both mongoses and mongods before running analyzeShardKey command Created: 24/Feb/23  Updated: 29/Oct/23  Resolved: 27/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding NYC 2023-03-06
Participants:
Linked BF Score: 35

 Description   

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.



 Comments   
Comment by Githook User [ 27/Feb/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-74378 Make tests wait for query sampling to become inactive on both mongoses and mongods before running analyzeShardKey command
Branch: master
https://github.com/mongodb/mongo/commit/93af182c15865734946faa7b5a32839899e7a260

Generated at Thu Feb 08 06:27:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.