From bd7fbb01df7914953a70b10d1269133b0ffd1c97 Mon Sep 17 00:00:00 2001 From: Alex Bevilacqua Date: Tue, 17 Oct 2023 12:46:22 -0400 Subject: [PATCH 1/4] Update driver-bulk-update.rst --- source/driver-bulk-update.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/driver-bulk-update.rst b/source/driver-bulk-update.rst index 10ef70923b..e337887064 100644 --- a/source/driver-bulk-update.rst +++ b/source/driver-bulk-update.rst @@ -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 `_. -* ``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 ), 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. From e2ccd412bf7dee014dfeb45d6db36aac98d7a3b3 Mon Sep 17 00:00:00 2001 From: Alex Bevilacqua Date: Tue, 17 Oct 2023 12:49:46 -0400 Subject: [PATCH 2/4] Update driver-bulk-update.rst --- source/driver-bulk-update.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/driver-bulk-update.rst b/source/driver-bulk-update.rst index e337887064..691f036437 100644 --- a/source/driver-bulk-update.rst +++ b/source/driver-bulk-update.rst @@ -1712,6 +1712,8 @@ sleep 6 seconds Changelog ========= +:2023-10-17: Updated ``maxWriteBatchSize`` default as being 100,000 instead + of 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. From 1ab78c392c4297651d71bb88e0325c269f0d5ea9 Mon Sep 17 00:00:00 2001 From: Alex Bevilacqua Date: Tue, 17 Oct 2023 14:36:44 -0400 Subject: [PATCH 3/4] Update source/driver-bulk-update.rst Co-authored-by: Jeremy Mikola --- source/driver-bulk-update.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/driver-bulk-update.rst b/source/driver-bulk-update.rst index 691f036437..f63cdcc486 100644 --- a/source/driver-bulk-update.rst +++ b/source/driver-bulk-update.rst @@ -1712,8 +1712,7 @@ sleep 6 seconds Changelog ========= -:2023-10-17: Updated ``maxWriteBatchSize`` default as being 100,000 instead - of 1000 +: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. From 8092381a243efbbb5c8e20e67980c52a87a72343 Mon Sep 17 00:00:00 2001 From: Alex Bevilacqua Date: Tue, 17 Oct 2023 14:37:01 -0400 Subject: [PATCH 4/4] Update source/driver-bulk-update.rst Co-authored-by: Shane Harvey --- source/driver-bulk-update.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/driver-bulk-update.rst b/source/driver-bulk-update.rst index f63cdcc486..75350288e3 100644 --- a/source/driver-bulk-update.rst +++ b/source/driver-bulk-update.rst @@ -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 `_. -* ``maxWriteBatchSize`` : currently 100,000 (as of MongoDB 3.6 via `SERVER-13061 ), this is the maximum number of inserts, updates, or deletes that +* ``maxWriteBatchSize`` : currently 100,000 (as of MongoDB 3.6 via `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.