-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.4.0
-
Component/s: None
-
None
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!
- is depended on by
-
PHPC-606 Use mongoc_server_description_t public API
- Closed
- related to
-
CDRIVER-1091 mongoc_client_get_server_descriptions()
- Closed