...

Text file src/go.mongodb.org/mongo-driver/testdata/server-selection/server_selection/Sharded/write/Primary.yml

Documentation: go.mongodb.org/mongo-driver/testdata/server-selection/server_selection/Sharded/write

     1topology_description:
     2  type: Sharded
     3  servers:
     4  - &1
     5    address: g:27017
     6    avg_rtt_ms: 5
     7    type: Mongos
     8  - &2
     9    address: h:27017
    10    avg_rtt_ms: 35
    11    type: Mongos
    12operation: write
    13read_preference:
    14  mode: Primary
    15suitable_servers:
    16- *1
    17- *2
    18in_latency_window:
    19- *1

View as plain text