Debian Codegraph @

testdata/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-zero.yml

raw
1 # When srvMaxHosts is zero, all hosts are added to the seed list.
2 #
3 # replicaSet is permitted because srvMaxHosts is non-positive.
4 uri: "mongodb+srv://test1.test.build.10gen.cc/?replicaSet=repl0&srvMaxHosts=0"
5 seeds:
6 - localhost.test.build.10gen.cc:27017
7 - localhost.test.build.10gen.cc:27018
8 hosts:
9 - localhost:27017
10 - localhost:27018
11 - localhost:27019
12 options:
13 replicaSet: repl0
14 srvMaxHosts: 0
15 ssl: true
16 ping: true