[CDRIVER-3039] Do not warn if retryWrites=false and crypto is missing Created: 25/Mar/19  Updated: 28/Oct/23  Resolved: 28/Mar/19

Status: Closed
Project: C Driver
Component/s: libmongoc, uri
Affects Version/s: None
Fix Version/s: 1.15.0

Type: Improvement Priority: Major - P3
Reporter: Jeremy Mikola Assignee: Jeremy Mikola
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-2961 Support Retryable Writes on by Default Closed
is related to CDRIVER-2466 retryWrites URI option silently ignor... Closed

 Description   

CDRIVER-2466 added a warning if crypto was not enabled while parsing a retryWrites URI option. When retryable writes was disabled by default, it was likely that the URI option would only be used to enable the feature; however, as CDRIVER-2961 will enable retryable writes by default it is more likely that some users might use the option to explicitly disable the feature.

It would be more correct for the URI parsing to only log a warning if crypto is disabled and retryWrites=true is parsed.



 Comments   
Comment by Githook User [ 28/Mar/19 ]

Author:

{'name': 'Jeremy Mikola', 'username': 'jmikola', 'email': 'jmikola@gmail.com'}

Message: CDRIVER-3039 do not warn for retryWrites=false and no crypto
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/ce75f03a640e5c6756893304e1db395b98edf24c

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