[JAVA-1156] The number of writes sent in a write command should not exceed maxWriteBatchSize Created: 26/Mar/14 Updated: 03/Apr/14 Resolved: 27/Mar/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Write Operations |
| Affects Version/s: | None |
| Fix Version/s: | 2.12.0, 3.0.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | rc3 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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 |
| Comments |
| Comment by Githook User [ 27/Mar/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |
| Comment by Githook User [ 27/Mar/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |