-
Type: Bug
-
Resolution: Unresolved
-
Priority: Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: Bulk API
Use Case
As a Node.js engineer
I want ensure we do not have an empty code path in bulkWrite's executeCommands
So that we ensure all batches are executed
User Impact
- Very likely none.
Dependencies
- None.
Unknowns
- Is it possible to have a batch that does not return true for isInsertBatch/isUpdateBatch/isDeleteBatch?
- If so, what should the driver do when it encounters that?
- Update AC if it is expected or tolerable to have the driver perform no work
Acceptance Criteria
Implementation Requirements
- Add validation to prevent unknown batches from letting executeCommands perform no operation
Testing Requirements
- Craft a batch that does not match the expected 3, assert the driver doesn't silently ignore that case.
Documentation Requirements
- TBD
Follow Up Requirements
- None