[SERVER-76757] Lower the default query sampling configuration refresh frequency Created: 02/May/23  Updated: 29/Oct/23  Resolved: 04/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.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:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: Sharding NYC 2023-05-15
Participants:

 Description   

Currently, the default is 5 seconds. This might be too frequent given that most of the time there should be no collections with query sampling enabled. 10 seconds seems like a reasonable interval that still allows a sampler (i.e. mongos or mongod) to update the coordinator about the traffic going through it in the case where there is actually a collection with query sampling enabled.



 Comments   
Comment by Githook User [ 04/May/23 ]

Author:

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

Message: SERVER-76757 Lower the default query sampling configuration refresh frequency

(cherry picked from commit 5a32ec32026d0d43c1d1748f8d4584a317b667c6)
Branch: v7.0
https://github.com/mongodb/mongo/commit/e8b7fb259d51f772e462c6ee1755eeea6f5682a7

Comment by Githook User [ 04/May/23 ]

Author:

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

Message: SERVER-76757 Lower the default query sampling configuration refresh frequency
Branch: master
https://github.com/mongodb/mongo/commit/5a32ec32026d0d43c1d1748f8d4584a317b667c6

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