Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1932

Specify timeouts for DNS queries for SRV URIs

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.14.0.rc1
    • Affects Version/s: None
    • Component/s: Connections
    • Labels:
      None
    • Fully Compatible

      The driver performs DNS queries when:

      • Initial seed list is discovered using an SRV URI
      • SRV polling is used

      In these cases, the driver should explicitly specify a timeout on DNS lookups.

      This is especially important for the initial DNS seed list query since it's performed synchronously during client construction.

      Scope of work:

      1. Verify that initial DNS seed list query and SRV polling DNS queries have explicit timeouts set.
      2. If timeouts are not explicitly set, add them.

      We could default timeouts to the connect_timeout value.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: