[JAVA-773] Respect isMaster.maxMessageSizeBytes Created: 27/Feb/13  Updated: 27/May/22  Resolved: 25/Jun/13

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-7074 Return maxMessageSizeBytes in isMaster Closed
is depended on by DRIVERS-1 Respect isMaster.maxMessageSizeBytes Closed
Server Compat: 2.3

 Description   

It can be used to increase number of documents in a batch insert.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Jeffrey Yemin [ 25/Jun/13 ]

Fixed by design in 3.0.x branch. See

https://github.com/jyemin/mongo-java-driver/blob/3.0.x/driver/src/main/org/mongodb/operation/WriteOperation.java

and

https://github.com/jyemin/mongo-java-driver/blob/3.0.x/driver/src/main/org/mongodb/operation/protocol/InsertMessage.java

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