Debian Codegraph @

testdata/server-discovery-and-monitoring/rs/primary_hint_from_secondary_with_mismatched_me.json

raw symbols SCIP
1 {
2 "description": "Secondary with mismatched 'me' tells us who the primary is",
3 "uri": "mongodb://a/?replicaSet=rs",
4 "phases": [
5 {
6 "responses": [
7 [
8 "a:27017",
9 {
10 "ok": 1,
11 "helloOk": true,
12 "isWritablePrimary": false,
13 "secondary": true,
14 "me": "c:27017",
15 "hosts": [
16 "b:27017"
17 ],
18 "setName": "rs",
19 "primary": "b:27017",
20 "minWireVersion": 0,
21 "maxWireVersion": 6
22 }
23 ]
24 ],
25 "outcome": {
26 "servers": {
27 "b:27017": {
28 "type": "PossiblePrimary",
29 "setName": null
30 }
31 },
32 "topologyType": "ReplicaSetNoPrimary",
33 "logicalSessionTimeoutMinutes": null,
34 "setName": "rs"
35 }
36 },
37 {
38 "responses": [
39 [
40 "b:27017",
41 {
42 "ok": 1,
43 "helloOk": true,
44 "isWritablePrimary": true,
45 "me": "b:27017",
46 "hosts": [
47 "b:27017"
48 ],
49 "setName": "rs",
50 "minWireVersion": 0,
51 "maxWireVersion": 6
52 }
53 ]
54 ],
55 "outcome": {
56 "servers": {
57 "b:27017": {
58 "type": "RSPrimary",
59 "setName": "rs"
60 }
61 },
62 "topologyType": "ReplicaSetWithPrimary",
63 "logicalSessionTimeoutMinutes": null,
64 "setName": "rs"
65 }
66 }
67 ]
68 }