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

Status: Closed
Project: Java Driver
Component/s: Query Operations
Affects Version/s: None
Fix Version/s: 4.1.0

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

Issue Links:
Depends

 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 [ 08/May/20 ]

Author:

{'name': 'John Stewart', 'email': 'john.stewart@mongodb.com', 'username': 'jstewart-mongo'}

Message: Raise error when hint option is provided on unacknowledged
writes against any server version

JAVA-3705
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/a5e8347cb5b2be2963221dccd37bc07d0756f0bb

Generated at Thu Feb 08 09:00:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.