Details
-
New Feature
-
Resolution: Done
-
Major - P3
-
1.4.0
-
None
-
None
Description
We need to add couple of getters for retrieving information about server_id.
Namely:
bool mongoc_client_get_server_type (client, server_id);
|
bool mongoc_client_get_server_ismaster (client, server_id, bson_t *out);
|
Note that even though the server_id was retrieve immediately prior to calling these function, the return value must be checked as the server may have evaporated inbetween these calls!
Attachments
Issue Links
- is depended on by
-
PHPC-606 Use mongoc_server_description_t public API
-
- Closed
-
- related to
-
CDRIVER-1091 mongoc_client_get_server_descriptions()
-
- Closed
-