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

Support polling SRV records for mongos discovery

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.10.0
    • Affects Version/s: None
    • Component/s: Cluster Management
    • Labels:
      None
    • Minor Change

      We provide mongodb sharded cluster as  a cloud service.We suggest tenant use "mongodb+srv://" as the connection string prefix.

      We insert a SRV record into DNS when tenant scale out a mongos node.We want driver auto discovery this node and then apply new connection to it.

      Actually this new mongos node does not appear in the topology before the app with driver restart.

      I know the "DNS Seed List" feature is aimed to decrease app's maintenance load.It would be better if driver could monitor the change of dns seed list and reset the topology in time.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            benwuhua xuran
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: