-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 0.6.3
-
Component/s: None
-
None
The current URI and option parsing logic relies on the mongoc_uri_option_is_TYPE() functions, none of which return true for "w" (since it supports multiple types).
Additionally, both the read preference and write concern structures are created once when the URI is parsed. Those structures are then set on the client. Changing the URI options for read preferences or write concerns does not update the compiled structures, which means they will need to be processed manually (i.e. get the client's structure, apply new options, and set the changed structure back on the client).
- is depended on by
-
PHPC-196 Implement getWriteConcern() and getReadPreference() methods on Manager
- Closed
-
PHPC-358 Strictly validate readPreferenceTags from Manager options array
- Closed
-
PHPC-359 Ensure read preference tags sets serialize as documents
- Closed
- is related to
-
PHPC-229 Support options array in second parameter of Manager constructor
- Closed
-
CDRIVER-774 "w" URI option should identify as both int32 and utf8
- Closed