...
1description: "Response from removed server"
2
3uri: "mongodb://a,b/?replicaSet=rs"
4
5phases: [
6
7 {
8 responses: [
9
10 ["a:27017", {
11
12 ok: 1,
13 helloOk: true,
14 isWritablePrimary: true,
15 setName: "rs",
16 hosts: ["a:27017"],
17 minWireVersion: 0,
18 maxWireVersion: 6
19 }]
20 ],
21
22 outcome: {
23
24 servers: {
25
26 "a:27017": {
27
28 type: "RSPrimary",
29 setName: "rs"
30 }
31 },
32 topologyType: "ReplicaSetWithPrimary",
33 logicalSessionTimeoutMinutes: null,
34 setName: "rs"
35 }
36 },
37
38 {
39 responses: [
40
41 ["b:27017", {
42
43 ok: 1,
44 helloOk: true,
45 isWritablePrimary: false,
46 secondary: true,
47 setName: "rs",
48 hosts: ["a:27017", "b:27017"],
49 minWireVersion: 0,
50 maxWireVersion: 6
51 }]
52 ],
53
54 outcome: {
55
56 servers: {
57
58 "a:27017": {
59
60 type: "RSPrimary",
61 setName: "rs"
62 }
63 },
64 topologyType: "ReplicaSetWithPrimary",
65 logicalSessionTimeoutMinutes: null,
66 setName: "rs"
67 }
68 }
69]
View as plain text