Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Done
-
None
Description
When connected to a 2.6 MongoDB server the driver uses write commands for the existing insert, update, and remove methods on DBCollection. For DBCollection.insert(List<DBObject), the driver needs to ensure that the number of documents sent in each insert command does not exceed the maxWriteBatchSize returned by isMaster.
Note that this is not a problem when using DBCollection.initializeOrderedBulkOperation or DBCollection.initializeUnorderedBulkOperation