[DRIVERS-2390] Write commands spec refers to old value of "maxWriteBatchSize" Created: 19/Jul/22  Updated: 28/Oct/23  Resolved: 26/Jul/22

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Spec Change Priority: Trivial - P5
Reporter: David Storch Assignee: Kaitlin Mahar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-13061 Raise write batch limit to 100,000 op... Closed
Driver Changes: Not Needed

 Description   

Summary

The Request Size Limits section of the Write Commands Specification states the following:

maxWriteBatchSize : currently 1000, 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.

The stated value of 1,000 for maxWriteBatchSize is stale, since it was changed to 100,000 as part of SERVER-13061. We should update the spec to state 100,000 as the current value. Alternatively we could change the spec to not refer to the current value so that it does not become stale in the future.

Motivation

Who is the affected end user?

Spec change only.

How does this affect the end user?

It doesn't.

How likely is it that this problem or use case will occur?

N/A

If the problem does occur, what are the consequences and how severe are they?

N/A

Is this issue urgent?

Not urgent

Is this ticket required by a downstream team?

No

Is this ticket only for tests?

N/A



 Comments   
Comment by Githook User [ 26/Jul/22 ]

Author:

{'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}

Message: DRIVERS-2390 remove specific value for maxWriteBatchSize from write commands spec (#1279)
Branch: master
https://github.com/mongodb/specifications/commit/8b6766db18878266d57bd65ad6bd4b55c1c3e983

Comment by Kaitlin Mahar [ 19/Jul/22 ]

I'm in favor of removing the specific value, both to prevent it from going stale and also to reinforce that drivers should be determining the value dynamically from the hello responses and not hard-coding it in.

Generated at Thu Feb 08 08:25:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.