- 
    Type:Task 
- 
    Resolution: Done
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: None
- 
    None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
Use a default maxWriteBatchSize of 1000 while disconnected or if maxWriteBatchSize is not reported in ismaster. Otherwise, set client.max_write_batch_size to the value in ismaster, for all client types.
When streaming operations with a new write command, finish a batch after every maxWriteBatchSize documents or when exceeding maxMessageSize, whichever comes first.
Remove the 1000-operation limit from the Bulk API implementation since the underlying write command implementation now handles it.
Bulk inserts with OP_INSERT are unaffected.
- related to
- 
                    DRIVERS-142 Use maxWriteBatchSize from ismaster for write command batch splitting. -         
- Closed
 
-