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

Specify timeouts for DNS queries for SRV URIs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.14.0.rc1
    • Component/s: Connections
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            oleg.pudeyev Oleg Pudeyev
            Reporter:
            oleg.pudeyev Oleg Pudeyev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: