[CDRIVER-300] allow getting hint for node from client before submitting command Created: 18/Mar/14  Updated: 03/May/17  Resolved: 21/Mar/14

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

Type: Bug Priority: Major - P3
Reporter: Christian Hergert Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

we need this to remove our requirement of tracking the clusters minWireVersion as a set. Otherwise we might have to build a request more than once.

Something like:

int
_mongoc_client_get_hint (mongoc_client_t        *client,
                         mongoc_read_prefs_t    *read_prefs,
                         mongoc_write_concern_t *write_concern);



 Comments   
Comment by Christian Hergert [ 21/Mar/14 ]

Added _mongoc_client_preselect().

This is available in 6e1b62abf305b413d11e40e1be8ef43cd7fba786.

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