| 1 |
description: "Direct connection to RSPrimary via external IP" |
| 2 |
|
| 3 |
uri: "mongodb://a/?directConnection=true" |
| 4 |
|
| 5 |
phases: [ |
| 6 |
|
| 7 |
{ |
| 8 |
responses: [ |
| 9 |
|
| 10 |
["a:27017", { |
| 11 |
|
| 12 |
ok: 1, |
| 13 |
helloOk: true, |
| 14 |
isWritablePrimary: true, |
| 15 |
hosts: ["b:27017"], |
| 16 |
setName: "rs", |
| 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: "Single", |
| 33 |
logicalSessionTimeoutMinutes: null, |
| 34 |
setName: |
| 35 |
} |
| 36 |
} |
| 37 |
] |