Use Case
As a... Driver Engineer
I want... to add CSOT support to the Bulk Write API
So that... the driver will be CSOT spec-compliant
User Impact
- N/A: New Feature
Dependencies
- Required CSOT feature
Unknowns
- None
Acceptance Criteria
Implementation Requirements
- Update implementation of the isTimeoutError assertion in UTR to check MongoBulkWriteError instances for a MongoTimeoutError in the errorResponse field
- If an operation must be sent to the server in multiple batches (e.g. collection.bulkWrite()), the timeoutMS option MUST apply to the entire operation, not to each individual batch.
Testing Requirements
- Unskip the bulkWrite.yml spec tests
- Implement the following prose tests
- #1 - multibatch bulk insert
- #11 - multibatch bulk write
Documentation Requirements
- Punt to
NODE-5688
Follow Up Requirements
- None