Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2961

Support Retryable Writes on by Default

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.15.0
    • 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.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: