[GODRIVER-2762] Use minimum RTT for CSOT maxTimeMS calculation instead of 90th percentile Created: 23/Feb/23  Updated: 16/Jan/24  Resolved: 16/Jan/24

Status: Closed
Project: Go Driver
Component/s: CSOT
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Spec Change Priority: Unknown
Reporter: Shane Harvey Assignee: Preston Vasquez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by GODRIVER-3096 Remove "stats" package dependency Backlog
is depended on by GODRIVER-2496 Simplify maxTimeMS appension Closed
Gantt Dependency
has to be done before GODRIVER-2348 Make CSOT feature-gated behavior the ... In Progress
Issue split
split from DRIVERS-2035 Use minimum RTT for CSOT maxTimeMS ca... Implementing
Related
related to GODRIVER-3096 Remove "stats" package dependency Backlog
is related to GODRIVER-3095 Add moving STD to RTT Stats Backlog
Epic Link: Go Driver 2.0: Driver
Upstream Changes Summary:

DRIVERS-2035:
Drivers must use the minimum RTT for CSOT maxTimeMS calculation instead of 90th percentile. At least 2 RTT samples are required otherwise drivers must use 0 as RTT. Only keep at most the last 10 samples. These changes were made to avoid preemptively failing operations due to inaccurate or unstable RTT measurements.

Spec change commit: https://github.com/mongodb/specifications/commit/c06650d86f7e47ea30cb2d992942bcec6ef155f9
Spec change PR: https://github.com/mongodb/specifications/pull/1350

Backwards Compatibility: Major Change
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Implement the CSOT spec changes in DRIVERS-2035.



 Comments   
Comment by Githook User [ 16/Jan/24 ]

Author:

{'name': 'Preston Vasquez', 'email': 'prestonvasquez@icloud.com', 'username': 'prestonvasquez'}

Message: GODRIVER-2762 Use minimum RTT for CSOT (#1507)

Co-authored-by: Matt Dale <9760375+matthewdale@users.noreply.github.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/df800a9fc535505363c62d9583fc9f3c8c3a8d9e

Generated at Thu Feb 08 08:39:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.