[CXX-771] Change collection methods to use options.max_time() Created: 10/Dec/15  Updated: 21/Aug/17  Resolved: 19/Dec/16

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Samuel Rossi (Inactive)
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-1047 Add mongoc_find_and_modify_opts_set_m... Closed
depends on CDRIVER-1048 Add generic mongoc_find_and_modify_op... Closed

 Description   

Collection methods that call libmongoc::find_and_modify_opts_set_flags ignore options.max_time() because the C driver does not accept maxTimeMS. See TODOs in collection::find_one_and_replace, collection::find_one_and_update, and collection::find_one_and_delete.



 Comments   
Comment by Githook User [ 19/Dec/16 ]

Author:

{u'username': u'saghm', u'name': u'Saghm Rossi', u'email': u'saghmrossi@gmail.com'}

Message: CXX-771 implement use of options.max_time() for find_one_and_<modify> methods
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/ddec734b148bc88c3aa84342421c95cf7dbe2a9e

Comment by David Golden [ 28/Nov/16 ]

Per planning discussions, this will be completed after the RC ships but before the GA ships.

Comment by A. Jesse Jiryu Davis [ 22/Mar/16 ]

No, we plan to release them in 1.4.0.

Comment by Andrew Morrow (Inactive) [ 22/Mar/16 ]

jesse - Will the resolved CDRIVER tickets here get backported to the CDRIVER 1.3 branch?

Comment by Andrew Morrow (Inactive) [ 22/Mar/16 ]

This is no longer blocked on C driver, we should reconsider when to schedule it.

Generated at Wed Feb 07 22:00:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.