-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.15.0
-
Component/s: None
-
None
-
Go Drivers
-
Not Needed
-
Context
Starting with Go Driver v1.15.0 (GODRIVER-3172), maxTimeMS is now sent on all commands when timeoutMS is set (i.e. a client-level timeout), including when a Context with deadline is used (i.e. an operation-level timeout), with two exceptions: Find and Aggregate operations. To align with the proposed behavior in DRIVERS-2722, we omit maxTimeMS on operations that return a cursor. However, we don't support timeoutMode yet, so that leaves no way to set a maxTimeMS (i.e. a server-side timeout) on Find and Aggregate ops. For those two commands, continue to honor the deprecated MaxTime option, allowing users to re-enable maxTimeMS.
Definition of done
What must be done to consider the task complete?
Pitfalls
What should the implementer watch out for? What are the risks?
- is related to
-
GODRIVER-2944 Support CSOT spec timeoutMode for non-tailable cursors
- Backlog