-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Write Operations
BulkWriteResult.getModifiedCount should throw MongoInternalException if server version < 2.6 because those servers can not provide the value properly via getlasterror. To detect whether it will throw, clients can call BulkWriteResult.isModifiedCountAvailable. If it returns true, it's safe to call BulkWriteResult.getModifiedCount
- is depended on by
-
DRIVERS-143 Don't include the nModified field in Bulk API results if talking to a legacy server.
- Closed
-
DRIVERS-145 Don't include the nModified field in Bulk API results if talking to a legacy server via mongos
- Closed