Skip to content
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

Update Bulk API to indicate maxWriteBatchSize change in 3.6 #1469

Merged
merged 4 commits into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion source/driver-bulk-update.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ Both of these limits can be found using hello or legacy hello:
the command itself is guaranteed not to trigger an error from the server, except in the case of
`SERVER-12305 <https://jira.mongodb.org/browse/SERVER-12305>`_.

* ``maxWriteBatchSize`` : currently 1000, this is the maximum number of inserts, updates, or deletes that
* ``maxWriteBatchSize`` : currently 100,000 (as of MongoDB 3.6 via `SERVER-13061 <https://jira.mongodb.org/browse/SERVER-13061>`__), this is the maximum number of inserts, updates, or deletes that
can be included in a write batch. If more than this number of writes are included, the server cannot
guarantee space in the response document to reply to the batch.

Expand Down Expand Up @@ -1712,6 +1712,7 @@ sleep 6 seconds
Changelog
=========

:2023-10-17: Updated ``maxWriteBatchSize`` default to 100,000 from 1000
:2022-10-05: Remove spec front matter and reformat changelog. Consolidated
changelog entries prior to the first published version of this
document, since exact dates were unavailable.
Expand Down
Loading