[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: |
|
||||||||
| 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: |