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

Incorrect configurated option srv_max_hosts

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Ruby Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      There're two issues

      1. The mongo client does not reflect on client options `srv_max_hosts` unless we append on URI. (e.g. `?srvMaxHosts=3`)
        1. the `uri_options` does not contains `srv_max_hosts`
      2. Even we use `?srvMaxHosts=3` the cluster monitoring keep scanning the cluster without `srv_max_hosts` options (third argument variable of resolver#get_records) 

       

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            ray.su@shoplineapp.com Ray Su
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None