-
Type: Task
-
Resolution: Works as Designed
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Use Case
The FLE spec states that batch splitting, for any operations that perform batch splitting, should use 2mb as the maximum batch size: https://github.com/mongodb/specifications/blob/d1bdb68b7b4aec9681ea56d41c8b9a6c1a97d365/source/client-side-encryption/client-side-encryption.md#size-limits-for-write-commands
Node's bulk write implementations (both the legacy bulk write and the client bulk write) do not use 2m as the limit for bulk write commands when auto encryption is enabled.
This notably impacts our insertMany API, which uses bulk write internally.
User Experience
- Unsure.
Dependencies
n/a
Risks/Unknowns
n/a
Acceptance Criteria
Implementation Requirements
- functional reqs, potential snafus to avoid, performance targets, etc
Testing Requirements
- unit test, spec test sync, etc
Documentation Requirements
- DOCSP ticket, API docs, etc
Follow Up Requirements
- additional tickets to file, required releases, etc
- if node behavior differs/will differ from other drivers, confirm with dbx devs what standard to aim for and what plan, if any, exists to reconcile the diverging behavior moving forward