File tree Expand file tree Collapse file tree 1 file changed +78
-0
lines changed
test/server_selection/server_selection/ReplicaSetWithPrimary/read Expand file tree Collapse file tree 1 file changed +78
-0
lines changed Original file line number Diff line number Diff line change 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" : 25 ,
24+ "type" : " RSPrimary" ,
25+ "tags" : {
26+ "data_center" : " nyc"
27+ }
28+ }
29+ ]
30+ },
31+ "operation" : " read" ,
32+ "read_preference" : {
33+ "mode" : " Nearest" ,
34+ "tag_sets" : [
35+ {
36+ "data_center" : " nyc"
37+ }
38+ ]
39+ },
40+ "deprioritized_servers" : [
41+ {
42+ "address" : " b:27017" ,
43+ "avg_rtt_ms" : 50 ,
44+ "type" : " RSPrimary" ,
45+ "tags" : {
46+ "data_center" : " nyc"
47+ }
48+ }
49+ ],
50+ "suitable_servers" : [
51+ {
52+ "address" : " c:27017" ,
53+ "avg_rtt_ms" : 100 ,
54+ "type" : " RSSecondary" ,
55+ "tags" : {
56+ "data_center" : " nyc"
57+ }
58+ },
59+ {
60+ "address" : " a:27017" ,
61+ "avg_rtt_ms" : 25 ,
62+ "type" : " RSPrimary" ,
63+ "tags" : {
64+ "data_center" : " nyc"
65+ }
66+ }
67+ ],
68+ "in_latency_window" : [
69+ {
70+ "address" : " a:27017" ,
71+ "avg_rtt_ms" : 25 ,
72+ "type" : " RSPrimary" ,
73+ "tags" : {
74+ "data_center" : " nyc"
75+ }
76+ }
77+ ]
78+ }
You can’t perform that action at this time.
0 commit comments