[GODRIVER-2605] Error if MaxAwaitTime will cause client-side timeout Created: 24/Oct/22  Updated: 18/Jan/24  Resolved: 18/Jan/24

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

Type: Improvement Priority: Minor - P4
Reporter: Benji Rewis (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Stabilize CSOT
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   

When users set MaxAwaitTime and Timeout , getMore s from change streams or cursors can currently append multiple maxTimeMS values. Remove maxTimeMS appension logic in batch cursor. Modify calculateMaxTimeMS to respect MaxTime for getMore unless Timeout is set and deadline will be exceeded. If deadline will be exceeded, throw ErrDeadlineWouldBeExceeded with relevant information.


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