Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4360

Should ignore empty SRV polling results

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Cluster Management
    • None

      The specification says:

      If the DNS request returns no verified hosts in SRV records, no SRV records at all, or a DNS error happens, the driver:

      • MUST NOT change the topology
      • MUST NOT raise an error
      • SHOULD log this situation, including the reason why the DNS records could not be found, if possible
      • MUST temporarily set rescanSRVIntervalMS to heartbeatFrequencyMS until at least one verified SRV record is obtained.

       
      The driver does not implement this behavior, nor the prose test that asserts it.

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: