11The number of operations in each group cannot exceed the value of
22the :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.
56
67This limit prevents issues with oversized error messages. If a group
78exceeds 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
1819 (for example, when writing a driver), MongoDB throws an error when
1920 attempting to execute a write batch which exceeds the limit.
2021
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 .
2526
2627The sizes and grouping mechanics are internal performance details and
2728are subject to change in future versions.
0 commit comments