[CSHARP-3766] Ensure Legacy API implementation uses write command Created: 23/Jul/21  Updated: 31/Mar/22

Status: Backlog
Project: C# Driver
Component/s: Write Operations
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The implementation of the legacy API uses the legacy wire protocol (OP_INSERT/UPDATE/DELETE) on all server versions. To ensure that it continues to work with 5.1+ servers (which no longer support this protocol), the implementation should be updated to use write commands and OP_MSG as applicable. This can probably be accomplished by using BulkMixedWriteOperation, as the new CRUD API implementation does, and possibly writing a small adapter for the exceptions and result.


Generated at Wed Feb 07 21:46:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.