[JAVA-1135] BulkWriteResult.getModifiedCount should throw if server version < 2.6 Created: 06/Mar/14  Updated: 31/Mar/15  Resolved: 29/Apr/14

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: BulkWriteResult.getModifiedCount improvements

 Description   

BulkWriteResult.getModifiedCount should throw MongoInternalException if server version < 2.6 because those servers can not provide the value properly via getlasterror.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: BulkWriteResult.getModifiedCount should throw if server version < 2.6

Refs JAVA-1135
Tests ported from 2.12 branch
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/c1a78d5b2538f5394a07af89bc0c85a8d9cd93ba

Comment by Githook User [ 28/Apr/14 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: BulkWriteResult.getModifiedCount should throw if server version < 2.6

Refs JAVA-1135
Tests ported from 2.12 branch
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/c1a78d5b2538f5394a07af89bc0c85a8d9cd93ba

Generated at Thu Feb 08 08:53:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.