-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: CSOT
Use Case
As a... Driver Engineer
I want... to add CSOT support to GridFS APIs
So that... the driver will be CSOT spec-compliant
User Impact
- N/A: New feature
Dependencies
- CSOT required feature
Unknowns
- questions that need to be answered to determine implementation
Acceptance Criteria
Implementation Requirements
- Add support for timeoutMS to APIS that create upload or download streams
- Ensure that GridFS buckets inherit timeoutMS from the parent database
- Ensure that GridFS API opreations set their internal cursor's timeoutMode to CURSOR_LIFETIME when timeoutMS is set
Testing Requirements
- Unskip the following test files
- gridfs-advanced
- gridfs-delete
- gridfs-download
- gridfs-find
- grids-upload
- Implement Prose test #6
- Implement Prose test #7
- Add tests ensuring that all GridFS APIs not covered by spec and prose tests can override timeoutMS configured on parent Db
Documentation Requirements
- Punt to
NODE-5688- Add code snippets that show how to handle timeout errors to API docs for gridFS timeoutMS options since it will turn into an error event on the stream
- document state of stream when timeout error is emitted
Follow Up Requirements
- None
- is duplicated by
-
NODE-6360 Increase timeoutMS values in live CSOT prose tests
- Closed
There are no Sub-Tasks for this issue.