-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Component/s: CSOT
-
None
-
Needed
-
Summary
The CSOT specifications for tailable awaitData cursors specifies the following:
Drivers MUST error if this option is set, timeoutMS is set to a non-zero value, and maxAwaitTimeMS is greater than or equal to timeoutMS
Currently the tailable-awaitData unified spec tests attempt to validate this behavior:
- error if maxAwaitTimeMS is greater than timeoutMS
- error if maxAwaitTimeMS is equal to timeoutMS
However, these tests only verify the occurrence of a client-side error, which may include a client-side timeout. For instance, the Go Driver does not perform the specific validation but rather produces an error due to a client-side timeout.
Acceptance Criteria
The unified spec tests for tailableAwait data cursor should verify that when maxAwaitTime >= timeoutMS the error is not a timeout error. Additionally, more tests should be added for other collection helpers that can construct a tailable awaitData cursors: collection.Watch() and collection.Aggregate().
- is related to
-
GODRIVER-3473 Incorrect Validation of timeoutMS for Tailable AwaitData Cursors
-
- Closed
-
- split to
-
CDRIVER-6082 Ensure Driver Errors for Tailable AwaitData Cursors on Invalid maxAwaitTimeMS
-
- Needs Triage
-
-
CSHARP-5704 Ensure Driver Errors for Tailable AwaitData Cursors on Invalid maxAwaitTimeMS
-
- Needs Triage
-
-
CXX-3330 Ensure Driver Errors for Tailable AwaitData Cursors on Invalid maxAwaitTimeMS
-
- Needs Triage
-
-
GODRIVER-3641 Ensure Driver Errors for Tailable AwaitData Cursors on Invalid maxAwaitTimeMS
-
- Needs Triage
-
-
JAVA-5946 Ensure Driver Errors for Tailable AwaitData Cursors on Invalid maxAwaitTimeMS
-
- Needs Triage
-
-
NODE-7111 Ensure Driver Errors for Tailable AwaitData Cursors on Invalid maxAwaitTimeMS
-
- Needs Triage
-
-
PHPLIB-1706 Ensure Driver Errors for Tailable AwaitData Cursors on Invalid maxAwaitTimeMS
-
- Needs Triage
-
-
PYTHON-5499 Ensure Driver Errors for Tailable AwaitData Cursors on Invalid maxAwaitTimeMS
-
- Needs Triage
-
-
RUBY-3698 Ensure Driver Errors for Tailable AwaitData Cursors on Invalid maxAwaitTimeMS
-
- Needs Triage
-
-
RUST-2261 Ensure Driver Errors for Tailable AwaitData Cursors on Invalid maxAwaitTimeMS
-
- Needs Triage
-