1
1
The number of operations in each group cannot exceed the value of
2
2
the :limit: `maxWriteBatchSize <Write Command Batch Limit Size> ` of
3
- the database. As of MongoDB 3.6, this value is ``100,000 ``.
4
- This value is shown in the :data: `hello.maxWriteBatchSize ` field.
3
+ the database. The default value of ``maxWriteBatchSize `` is
4
+ ``100,000 ``. This value is shown in the
5
+ :data: `hello.maxWriteBatchSize ` field.
5
6
6
7
This limit prevents issues with oversized error messages. If a group
7
8
exceeds this :limit: `limit <Write Command Batch Limit Size> `,
@@ -18,10 +19,10 @@ less than or equal to the value of the limit. For example, with the
18
19
(for example, when writing a driver), MongoDB throws an error when
19
20
attempting to execute a write batch which exceeds the limit.
20
21
21
- Starting in MongoDB 3.6, once the error report for a single batch grows
22
- too large, MongoDB truncates all remaining error messages to the empty
23
- string. Currently, begins once there are at least 2 error messages with
24
- total size greater than `` 1MB `` .
22
+ If the error report for a single batch grows too large, MongoDB
23
+ truncates all remaining error messages to the empty string. If there
24
+ are at least two error messages with total size greater than `` 1MB ``,
25
+ they are trucated .
25
26
26
27
The sizes and grouping mechanics are internal performance details and
27
28
are subject to change in future versions.
0 commit comments