Support Retryable Writes on by Default

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.15.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            Jeremy Mikola
            Reporter:
            Rathi Gnanasekaran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: