Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1156

The number of writes sent in a write command should not exceed maxWriteBatchSize

      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

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: