[CDRIVER-3499] Raise error if hint specified for unacknowledged update using OP_MSG or OP_UPDATE Created: 22/Jan/20  Updated: 27/Oct/23  Resolved: 27/Jan/20

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

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Jeremy Mikola
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-790 Raise error if hint specified for una... Closed
is depended on by PHPC-1535 Raise error if hint specified for una... Closed
Related
is related to CDRIVER-3400 support ability to pass hint to update Closed
Epic Link: C 4.4 Support

 Description   

See DRIVERS-790 for details.



 Comments   
Comment by Jeremy Mikola [ 27/Jan/20 ]

kevin.albertson: I believe there is nothing to do here, as _mongoc_write_command_execute_idl raises a general error if the wire version indicates the server version is less than 4.2. This happens well before the function delegates based on the write concern acknowledgement (although we'd expect it to call _mongoc_write_opmsg regardless of the write concern).

Comment by April Schoffer [ 27/Jan/20 ]

This may have already been done as part of work for libmongoc

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