[SERVER-75662] Increase the diff windows for read and write distribution metrics in analyze_shard_key.js Created: 04/Apr/23  Updated: 29/Oct/23  Resolved: 04/Apr/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-04-17
Participants:
Linked BF Score: 45

 Description   

The workload samples queries using 10 threads and 500 iterations. However, it generally only samples about 1700 read queries and 1700 write queries in total. It looks like the diff window of 10% isn't always satisfiable for this amount of sampling. So we should relax the windows a bit.



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

Author:

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

Message: SERVER-75662 Increase the diff windows for read and write distribution metrics in analyze_shard_key.js
Branch: master
https://github.com/mongodb/mongo/commit/6240f42a15c3c66654bde035affc18151abeedc4

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