testdata/max-staleness/ReplicaSetNoPrimary/NoKnownServers.yml
raw| 1 | # valid maxStalenessSeconds and no known servers results in an empty set of suitable servers |
| 2 | --- |
| 3 | topology_description: |
| 4 | type: ReplicaSetNoPrimary |
| 5 | servers: |
| 6 | - &1 |
| 7 | address: a:27017 |
| 8 | type: Unknown |
| 9 | - &2 |
| 10 | address: b:27017 |
| 11 | type: Unknown |
| 12 | read_preference: |
| 13 | mode: Nearest |
| 14 | maxStalenessSeconds: 90 |
| 15 | suitable_servers: [] |
| 16 | in_latency_window: [] |