Debian Codegraph @

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

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