Skip to content

DRIVERS-2888 Support QE with Client.bulkWrite #1770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
9 changes: 2 additions & 7 deletions source/crud/bulk-write.md
Original file line number Diff line number Diff line change
Expand Up @@ -634,13 +634,6 @@ write concern containing the following message:

> Cannot request unacknowledged write concern and ordered writes

## Auto-Encryption

If `MongoClient.bulkWrite` is called on a `MongoClient` configured with `AutoEncryptionOpts`, drivers MUST return an
error with the message: "bulkWrite does not currently support automatic encryption".

This is expected to be removed once [DRIVERS-2888](https://jira.mongodb.org/browse/DRIVERS-2888) is implemented.

## Command Batching

Drivers MUST accept an arbitrary number of operations as input to the `MongoClient.bulkWrite` method. Because the server
Expand Down Expand Up @@ -917,6 +910,8 @@ error in this specific situation does not seem helpful enough to require size ch

## **Changelog**

- 2025-04-23: Removed the requirement to error when QE is enabled.

- 2024-11-05: Updated the requirements regarding the size validation.

- 2024-10-07: Error if `w:0` is used with `ordered=true` or `verboseResults=true`.
Expand Down
296 changes: 296 additions & 0 deletions source/crud/tests/unified/client-bulkWrite-qe.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading