...
1description: Direct connection to RSPrimary with wrong set name
2uri: mongodb://a/?directConnection=true&replicaSet=rs
3phases:
4- responses:
5 - - a:27017
6 - ok: 1
7 helloOk: true
8 isWritablePrimary: true
9 hosts:
10 - a:27017
11 - b:27017
12 setName: wrong
13 minWireVersion: 0
14 maxWireVersion: 6
15 outcome:
16 servers:
17 a:27017:
18 type: Unknown
19 topologyType: Single
20 logicalSessionTimeoutMinutes:
21 setName: rs
22- responses:
23 - - a:27017
24 - ok: 1
25 helloOk: true
26 isWritablePrimary: true
27 hosts:
28 - a:27017
29 - b:27017
30 setName: rs
31 minWireVersion: 0
32 maxWireVersion: 6
33 outcome:
34 servers:
35 a:27017:
36 type: RSPrimary
37 setName: rs
38 topologyType: Single
39 logicalSessionTimeoutMinutes:
40 setName: rs
View as plain text