[JAVA-2585] Use one-way OP_MSG for unacknowledged writes Created: 16/Aug/17  Updated: 29/Oct/23  Resolved: 05/Sep/17

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

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

Issue Links:
Depends
depends on JAVA-2563 OP_MSG support Closed
Epic Link: Java MongoDB 3.6 Support

 Description   

The new OP_MSG wire protocol allows the driver to tell the server not to send a response. The driver can use that capability to send unacknowledged writes to servers that support OP_MSG. That way, the driver will never send OP_INSERT/UPDATE/DELETE to servers that support OP_MSG, clearing the way for deprecation and removal of the legacy wire protocol messages.

This has to be done in MixedBulkWriteOperation as well as Insert/Update/DeleteOperation (or those can be deleted and users of them can be re-written to use MixedBulkWriteOperation)



 Comments   
Comment by Githook User [ 05/Sep/17 ]

Author:

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

Message: JAVA-2585: Use write commands for unacknowledged writes
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/4083ad6239f70ef3c615bd3907760ce49321b99e

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