[SERVER-12275] Add MaxWriteBatchSize to isMaster results. Created: 07/Jan/14  Updated: 02/Aug/18  Resolved: 13/Jan/14

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5.5

Type: Task Priority: Major - P3
Reporter: Greg Studer Assignee: Gregory McKeon (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-10643 Document max document wire size in is... Closed
related to SERVER-12305 Allow command request and response BS... Backlog
related to DOCS-11045 Add missing output fields to isMaster... Closed
is related to DRIVERS-142 Use maxWriteBatchSize from ismaster f... Closed
Participants:

 Description   

Batches of writes sent via write commands are only valid if A) the total size of all "documents"/"updates"/"deletes" (not including array overhead) is < MaxBSONObjSize and B) the total number of "documents"/"updates"/"deletes" is less than some constant value (currently 1000).

This constant should be accessible to clients via isMaster.



 Comments   
Comment by A. Jesse Jiryu Davis [ 25/Feb/14 ]

The ticket to enforce this maximum is SERVER-12819.

Comment by Greg Studer [ 21/Feb/14 ]

Yep, it should be. I'll open another ticket.

Comment by A. Jesse Jiryu Davis [ 21/Feb/14 ]

Quick test against latest mongod and mongos code indicates that this limit is not enforced server side. Correct?

Comment by Githook User [ 08/Jan/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-12275 add MaxWriteBatchSize to isMaster
Branch: master
https://github.com/mongodb/mongo/commit/692222cd457c6d370647664627d248aebe05b8ab

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