[CDRIVER-1844] Add "serverId" option for mongoc_client_command_read_with_opts Created: 18/Oct/16  Updated: 25/Oct/16  Resolved: 25/Oct/16

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

Type: New Feature Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CDRIVER-1842 Example using mongoc_cursor_new_from_... Closed
Epic Link: Flexible opts
Backwards Compatibility: Fully Compatible

 Description   

Allow consumers to specify their own hint for server selection. PHPC and HHVM won't be able to use this API without a configurable hint, since we already provide APIs for executing commands on pre-selected servers.

Support an integer "serverId" option in "opts" for mongoc_client_command_read_with_opts and related functions.



 Comments   
Comment by Githook User [ 25/Oct/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1844 add "serverId" opt to command funcs
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/b6c1cfae281fbe6f9bd35a75d106c6919a4316c7

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