[SERVER-71064] [Optimization] Deprioritize writes done by query sampling Created: 03/Nov/22  Updated: 29/Oct/23  Resolved: 20/Apr/23

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

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

Issue Links:
Backports
Assigned Teams:
Sharding NYC
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Sprint: Sharding NYC 2023-03-06, Sharding NYC 2023-03-20, Sharding NYC 2023-04-03, Sharding NYC 2023-04-17, Sharding NYC 2023-05-01
Participants:

 Description   

To minimize the impact of query sampling on user workloads, writes to the config.sampledQueries and config.sampleQueriesDiff collections should be deprioritized the same way that writes by the TTL monitor and range deleter are. Here is an example how the deprioritizing is done for the range deleter.



 Comments   
Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Israel Hsu', 'email': 'israel.hsu@mongodb.com', 'username': 'israelhsu'}

Message: SERVER-71064 Deprioritize inserts to sampled queries and sampled diffs collections
Branch: v7.0
https://github.com/mongodb/mongo/commit/cb88a0de529cbf336d216f283c98700f99084899

Comment by Githook User [ 20/Apr/23 ]

Author:

{'name': 'Israel Hsu', 'email': 'israel.hsu@mongodb.com', 'username': 'israelhsu'}

Message: SERVER-71064 Deprioritize inserts to config.sampledQueries and config.sampledQueriesDiff
Branch: master
https://github.com/mongodb/mongo/commit/7ec9cdbb3b555012b62df971a0a78420f94502b1

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