-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
Use Case
Any error encountered when executing a bulk write is wrapped in a MongoBulkWriteError. MongoBulkWriteError is a subclass of MongoServerError. There are some cases where the wrapped error is thrown by the driver, not the server, and in these cases we should instead throw an error that doesn't subclass MongoServerError.
This is relatively minor but it does break the `clientSideError` flag in the unified test runner for bulk write errors because even when a client side error is thrown, it's wrapped in a subclass of MongoServerError.
User Impact
- small.
Dependencies
- n/a
Unknowns
Acceptance Criteria
Implementation Requirements
Testing Requirements
- undo the workaround in `match` in the UTR (it's tagged with this ticket)
Documentation Requirements
n/a
Follow Up Requirements
n/a