1{
2  "description": "Primaries with and without electionIds",
3  "uri": "mongodb://a/?replicaSet=rs",
4  "phases": [
5    {
6      "responses": [
7        [
8          "a:27017",
9          {
10            "ok": 1,
11            "ismaster": true,
12            "hosts": [
13              "a:27017",
14              "b:27017",
15              "c:27017"
16            ],
17            "setVersion": 1,
18            "setName": "rs",
19            "minWireVersion": 0,
20            "maxWireVersion": 6
21          }
22        ]
23      ],
24      "outcome": {
25        "servers": {
26          "a:27017": {
27            "type": "RSPrimary",
28            "setName": "rs",
29            "setVersion": 1,
30            "electionId": null
31          },
32          "b:27017": {
33            "type": "Unknown",
34            "setName": null,
35            "electionId": null
36          },
37          "c:27017": {
38            "type": "Unknown",
39            "setName": null,
40            "electionId": null
41          }
42        },
43        "topologyType": "ReplicaSetWithPrimary",
44        "logicalSessionTimeoutMinutes": null,
45        "setName": "rs"
46      }
47    },
48    {
49      "responses": [
50        [
51          "b:27017",
52          {
53            "ok": 1,
54            "ismaster": true,
55            "hosts": [
56              "a:27017",
57              "b:27017",
58              "c:27017"
59            ],
60            "setName": "rs",
61            "setVersion": 1,
62            "electionId": {
63              "$oid": "000000000000000000000002"
64            },
65            "minWireVersion": 0,
66            "maxWireVersion": 6
67          }
68        ]
69      ],
70      "outcome": {
71        "servers": {
72          "a:27017": {
73            "type": "Unknown",
74            "setName": null,
75            "electionId": null
76          },
77          "b:27017": {
78            "type": "RSPrimary",
79            "setName": "rs",
80            "setVersion": 1,
81            "electionId": {
82              "$oid": "000000000000000000000002"
83            }
84          },
85          "c:27017": {
86            "type": "Unknown",
87            "setName": null,
88            "electionId": null
89          }
90        },
91        "topologyType": "ReplicaSetWithPrimary",
92        "logicalSessionTimeoutMinutes": null,
93        "setName": "rs"
94      }
95    },
96    {
97      "responses": [
98        [
99          "a:27017",
100          {
101            "ok": 1,
102            "ismaster": true,
103            "hosts": [
104              "a:27017",
105              "b:27017",
106              "c:27017"
107            ],
108            "setVersion": 1,
109            "setName": "rs",
110            "minWireVersion": 0,
111            "maxWireVersion": 6
112          }
113        ]
114      ],
115      "outcome": {
116        "servers": {
117          "a:27017": {
118            "type": "RSPrimary",
119            "setName": "rs",
120            "setVersion": 1,
121            "electionId": null
122          },
123          "b:27017": {
124            "type": "Unknown",
125            "setName": null,
126            "electionId": null
127          },
128          "c:27017": {
129            "type": "Unknown",
130            "setName": null,
131            "electionId": null
132          }
133        },
134        "topologyType": "ReplicaSetWithPrimary",
135        "logicalSessionTimeoutMinutes": null,
136        "setName": "rs"
137      }
138    },
139    {
140      "responses": [
141        [
142          "c:27017",
143          {
144            "ok": 1,
145            "ismaster": true,
146            "hosts": [
147              "a:27017",
148              "b:27017",
149              "c:27017"
150            ],
151            "setName": "rs",
152            "setVersion": 1,
153            "electionId": {
154              "$oid": "000000000000000000000001"
155            },
156            "minWireVersion": 0,
157            "maxWireVersion": 6
158          }
159        ]
160      ],
161      "outcome": {
162        "servers": {
163          "a:27017": {
164            "type": "RSPrimary",
165            "setName": "rs",
166            "setVersion": 1,
167            "electionId": null
168          },
169          "b:27017": {
170            "type": "Unknown",
171            "setName": null,
172            "electionId": null
173          },
174          "c:27017": {
175            "type": "Unknown",
176            "setName": null,
177            "electionId": null
178          }
179        },
180        "topologyType": "ReplicaSetWithPrimary",
181        "logicalSessionTimeoutMinutes": null,
182        "setName": "rs"
183      }
184    }
185  ]
186}
187