[GODRIVER-1585] Raise error when hint option is provided on unacknowledged writes against any server version Created: 20/Apr/20  Updated: 28/Oct/23  Resolved: 07/May/20

Status: Closed
Project: Go Driver
Component/s: CRUD
Affects Version/s: None
Fix Version/s: 1.4.0

Type: Improvement Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Epic Link: Go MongoDB 4.4 Support

 Description   

A previous version of the CRUD spec said that the driver should only raise errors when the hint option is provided to an unacknowledged write against a server that does not support the hint option. However, the CRUD spec also says that the driver should raise errors whenever the arrayFilters or collation options are provided on any unacknowledged write. The spec has been changed to state that the driver should raise an error when the hint option is provided on unacknowledged writes against any server version.



 Comments   
Comment by Githook User [ 07/May/20 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: GODRIVER-1585 Error for hints with unacknowledged writes (#395)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/691b9dff32114e567376ef3084437b406127aab8

Comment by Divjot Arora (Inactive) [ 01/May/20 ]

https://github.com/mongodb/mongo-go-driver/pull/395

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