Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-1499

Disable DNS SRV caching

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.6.1
    • None
    • None
    • None
    • 1
    • SDK10: FIT, PthFndng, 3.5 Rel

    Description

      Suggested release note:

      DNS SRV caching is now disabled. The SDK now responds quicker to DNS changes in dynamic environments like Kubernetes.

      When we switched to using the `dnsjava` libaray for DNS SRV lookups in core-io 2.5.0, we inadvertently started caching responses, included negative responses. This is not ideal for k8s environments where DNS SRV entries are highly dynamic.

      Our use case does not require caching, so let's disable it.

      Attachments

        For Gerrit Dashboard: JVMCBC-1499
        # Subject Branch Project Status CR V

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty