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

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: