Summary
Assert unset BulkWriteException.partialResult in CRUD prose tests expecting no writes succeeded.
Motivation
CDRIVER-5969 identified an implementation bug. Empty (rather than unset) results were sometimes returned on client errors when no writes succeeded server-side. This contradicted the spec, which expects unset:
Drivers MUST NOT populate the partialResult field in BulkWriteException if it cannot be determined that at least one write was successfully performed.
Who is the affected end user?
Users of the new MongoClient.BulkWrite API.
How does this affect the end user?
May result in a (likely minor) bug.
How likely is it that this problem or use case will occur?
If the problem does occur, what are the consequences and how severe are they?
Minor bug. BulkWriteException.partialResult may be unexpectedly set in an error case.
Is this issue urgent?
No?
Is this ticket only for tests?
Yes.
Acceptance Criteria
Add assertions for BulkWriteException.partialResult in CRUD prose tests expecting no writes succeeded.
- is related to
-
CDRIVER-5969 Partial result may be populated after client-side error in first client bulk write operation
-
- Closed
-
- split to
-
JAVA-5869 Assert unset BulkWriteException.partialResult in CRUD prose tests
-
- Needs Triage
-
-
NODE-6942 Assert unset BulkWriteException.partialResult in CRUD prose tests
-
- Needs Triage
-
-
RUBY-3666 Assert unset BulkWriteException.partialResult in CRUD prose tests
-
- Needs Triage
-
-
CSHARP-5582 Assert unset BulkWriteException.partialResult in CRUD prose tests
-
- Backlog
-
-
CXX-3284 Assert unset BulkWriteException.partialResult in CRUD prose tests
-
- Backlog
-
-
GODRIVER-3549 Assert unset BulkWriteException.partialResult in CRUD prose tests
-
- Backlog
-
-
PYTHON-5374 Assert unset BulkWriteException.partialResult in CRUD prose tests
-
- Backlog
-
-
PHPLIB-1677 Assert unset BulkWriteException.partialResult in CRUD prose tests
-
- Ready for Work
-
-
CDRIVER-6001 Assert unset BulkWriteException.partialResult in CRUD prose tests
-
- Closed
-
-
MOTOR-1461 Assert unset BulkWriteException.partialResult in CRUD prose tests
-
- Closed
-
-
RUST-2209 Assert unset BulkWriteException.partialResult in CRUD prose tests
-
- Closed
-