...

Text file src/go.mongodb.org/mongo-driver/testdata/max-staleness/ReplicaSetNoPrimary/NoKnownServers.yml

Documentation: go.mongodb.org/mongo-driver/testdata/max-staleness/ReplicaSetNoPrimary

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

View as plain text