File: Nearest.yml

package info (click to toggle)
ruby-mongo 2.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,020 kB
  • sloc: ruby: 110,810; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 310 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
topology_description:
  type: Sharded
  servers:
  - &1
    address: g:27017
    avg_rtt_ms: 5
    type: Mongos
  - &2
    address: h:27017
    avg_rtt_ms: 35
    type: Mongos
operation: read
read_preference:
  mode: Nearest
  tag_sets:
  - data_center: nyc
suitable_servers:
- *1
- *2
in_latency_window:
- *1