-
Type:
Task
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Component/s: Client Side Encryption
-
None
-
Not Needed
Summary
Document expected server error codes in prose test for CSFLE/QE bulkWrite prose test expecting a "too-large document" error.
Motivation
SERVER-104405 recently changed the expected error code. This broke some drivers testing of BSON Size Limits and Batch Splitting. Document the expected server errors in the specification.
MongoCollection.bulkWrite does not prohibit client-side checks after auto-encryption. The expected error might be a driver-side or server-side error.
Who is the affected end user?
N/A.
How does this affect the end user?
N/A.
How likely is it that this problem or use case will occur?
Unsure.
If the problem does occur, what are the consequences and how severe are they?
N/A.
Is this issue urgent?
No? SERVER-104405 is timely. But I expect a prose test change is not needed to workaround the new error.
Is this ticket required by a downstream team?
No.
Is this ticket only for tests?
Yes.
Acceptance Criteria
- CSFLE prose test 4 includes expected server error codes for "document too large" errors.
- is related to
-
SERVER-104405 Add explicit size validation where code is currently relying on BSONObj constructor
-
- Closed
-