[SERVER-77767] Make gReadWriteRatio to be between 0 and 1 Created: 02/Jun/23  Updated: 29/Oct/23  Resolved: 07/Jun/23

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

Type: Task Priority: Major - P3
Reporter: Shin Yee Tan Assignee: Gregory Noma
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
Backport Requested:
v7.0
Sprint: Execution Team 2023-06-12
Participants:

 Description   

Currently gReadWriteRatio takes any value greater than 0 and is used for this calculation. We could update the value to be between 0 and 1 such that 0.5 reflects a 1:1 ratio. We'll need to update: how we calculate readPct and writePct in the calculation linked earlier; throughputProbingReadWriteRatio in throughput_probing.idl; and mongo_fuzzer_configs.py.



 Comments   
Comment by Githook User [ 08/Jun/23 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-77767 Adjust `throughputProbingReadWriteRatio` semantics

(cherry picked from commit c8bd7ee0e70fd0232274bf73e1bc97fa8aa0b41f)
Branch: v7.0
https://github.com/mongodb/mongo/commit/247f17e8f5047f22fec3450ee21d541379f4d43f

Comment by Githook User [ 07/Jun/23 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-77767 Adjust `throughputProbingReadWriteRatio` semantics
Branch: master
https://github.com/mongodb/mongo/commit/c8bd7ee0e70fd0232274bf73e1bc97fa8aa0b41f

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