[DRIVERS-142] Use maxWriteBatchSize from ismaster for write command batch splitting. Created: 20/Feb/14 Updated: 15/Apr/19 Resolved: 21/Jun/16 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Barrie Segal | Assignee: | Barrie Segal |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
The ismaster command now returns a maxWriteBatchSize field, currently set to 1000, that defines the maximum number of documents that can be sent in a batch (regardless of the batch size in bytes). Use this to determine the maximum number of documents to send in a single write command. |