...
1{
2 "topology_description": {
3 "type": "ReplicaSetNoPrimary",
4 "servers": [
5 {
6 "address": "b:27017",
7 "avg_rtt_ms": 10,
8 "type": "RSSecondary",
9 "tags": {
10 "data_center": "nyc"
11 }
12 },
13 {
14 "address": "c:27017",
15 "avg_rtt_ms": 20,
16 "type": "RSSecondary",
17 "tags": {
18 "data_center": "nyc"
19 }
20 }
21 ]
22 },
23 "operation": "read",
24 "read_preference": {
25 "mode": "Nearest",
26 "tag_sets": [
27 {
28 "data_center": "nyc"
29 }
30 ]
31 },
32 "suitable_servers": [
33 {
34 "address": "b:27017",
35 "avg_rtt_ms": 10,
36 "type": "RSSecondary",
37 "tags": {
38 "data_center": "nyc"
39 }
40 },
41 {
42 "address": "c:27017",
43 "avg_rtt_ms": 20,
44 "type": "RSSecondary",
45 "tags": {
46 "data_center": "nyc"
47 }
48 }
49 ],
50 "in_latency_window": [
51 {
52 "address": "b:27017",
53 "avg_rtt_ms": 10,
54 "type": "RSSecondary",
55 "tags": {
56 "data_center": "nyc"
57 }
58 },
59 {
60 "address": "c:27017",
61 "avg_rtt_ms": 20,
62 "type": "RSSecondary",
63 "tags": {
64 "data_center": "nyc"
65 }
66 }
67 ]
68}
View as plain text