[JAVA-982] 3.0: Use new write commands when connected to a server with version >= 2.6 Created: 27/Sep/13  Updated: 31/Mar/15  Resolved: 30/Jan/14

Status: Closed
Project: Java Driver
Component/s: Wire Protocol, Write Operations
Affects Version/s: None
Fix Version/s: 3.0.0

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

Epic Link: Write Commands

 Description   

Support in 3.0



 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/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-982, JAVA-1041: Use write commands for all write operations for server versions that support them. Add bulk write API to DBCollection to take advantage of write commands's ability to do bulk update and remove and generally provide better error reporting.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/a4042df1be7b25f55b7e0bbdc65047a8ef73365a

Comment by Jeffrey Yemin [ 27/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-922: Disabling new write commands until 2.5.4
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/27ae57c2ab4dd0560b2c7e818fc25228abaac7e2

Comment by Jeffrey Yemin [ 27/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-922: Use dedicated write protocol for unacknowledged writes.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/84cff66a73c00154e3d7ef06bd7a3eabd366bc67

Comment by Jeffrey Yemin [ 27/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-922: Using mark and reset in BSONBinaryWriter for splitting batched write commands into multiple documents.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/1fe4c956afa0b15f5d0d6441d854ccc02d20163d

Comment by Jeffrey Yemin [ 27/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-922: Added support for mark and reset in BSONBinaryWriter, useful for splitting batches of writes into multiple documents
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/ee8f2e77e176f18cf7e0d2deead9f72a48860f98

Comment by Jeffrey Yemin [ 27/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-922: Completed bulk support for the remaining write commands: update and delete
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/e29e8d03b8daa0ddfe4cb00b31b0267be3f9dc6b

Comment by Jeffrey Yemin [ 27/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-922: Completed bulk support for the remaining write commands: update and delete
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/44b9e89fff86a6939a8cb41a0cd32549685c6b37

Comment by Jeffrey Yemin [ 27/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-922: Fixing server version test
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/6dfd101395f19e8aaeba19ce4e9a4938049be683

Comment by Jeffrey Yemin [ 27/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-922: Implemented all write operations on top of new write commands available in the upcoming 2.6 server release.
Each write command is implemented as a new protocol, and WriteOperationBase determines, based on server version,
whether to use new or old style writes.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/f127c49044955ff3cc4902d103e3b43604b8b102

Comment by Jeffrey Yemin [ 27/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-922: Ignore test of prevError, which doesn't work with 2.6 write commands
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/bf4b22e2eecb8baa2289f985f6b3bd9eb3b31f84

Comment by Jeffrey Yemin [ 27/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-922: Support new commands for insert, update, and delete. This is just some initial refactoring of the existing code.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/72a1f121407a85c98d1a21f72874b8e204233701

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