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

Should ignore empty SRV polling results

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Cluster Management
    • None

    Description

      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.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: