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