-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: libmongoc
See DRIVERS-531 for details.
Currently, libmongoc warns when setting the retryWrites URI option if crypto is not available (due to the sessions requirement). CDRIVER-3039 changes this warning to only trigger for retryWrites=true, since it's not relevant if the user is disabling retryWrites; however, since retryWrites will not be enabled by default and users may not set the URI option at all it makes the most sense to issue a single warning after URI options are processed and we know the final runtime value (considering the default). As part of this ticket, we should move the warning to mongoc_client_pool_new and _mongoc_client_new_from_uri, which is where we currently error if SSL is enabled in the URI but MONGOC_ENABLE_SSL is not defined.
- depends on
-
CDRIVER-3051 Using multi flag with mongoc_collection_update fails if retryWrites=true
- Closed
-
CDRIVER-3053 mongoc_collection_remove and delete alias fails if retryWrites=true
- Closed
- is depended on by
-
CXX-1732 Support Retryable Writes on by Default
- Closed
-
PHPC-1324 Support Retryable Writes on by Default
- Closed
- related to
-
CDRIVER-3070 Do not include lsid in commands if topology does not support sessions
- Closed
-
CDRIVER-3039 Do not warn if retryWrites=false and crypto is missing
- Closed