| 1 | { |
| 2 | "description": "Disconnected from primary", |
| 3 | "uri": "mongodb://a/?replicaSet=rs", |
| 4 | "phases": [ |
| 5 | { |
| 6 | "responses": [ |
| 7 | [ |
| 8 | "a:27017", |
| 9 | { |
| 10 | "ok": 1, |
| 11 | "helloOk": true, |
| 12 | "isWritablePrimary": true, |
| 13 | "hosts": [ |
| 14 | "a:27017" |
| 15 | ], |
| 16 | "setName": "rs", |
| 17 | "minWireVersion": 0, |
| 18 | "maxWireVersion": 6 |
| 19 | } |
| 20 | ] |
| 21 | ], |
| 22 | "outcome": { |
| 23 | "servers": { |
| 24 | "a:27017": { |
| 25 | "type": "RSPrimary", |
| 26 | "setName": "rs" |
| 27 | } |
| 28 | }, |
| 29 | "topologyType": "ReplicaSetWithPrimary", |
| 30 | "logicalSessionTimeoutMinutes": null, |
| 31 | "setName": "rs" |
| 32 | } |
| 33 | }, |
| 34 | { |
| 35 | "responses": [ |
| 36 | [ |
| 37 | "a:27017", |
| 38 | {} |
| 39 | ] |
| 40 | ], |
| 41 | "outcome": { |
| 42 | "servers": { |
| 43 | "a:27017": { |
| 44 | "type": "Unknown", |
| 45 | "setName": null |
| 46 | } |
| 47 | }, |
| 48 | "topologyType": "ReplicaSetNoPrimary", |
| 49 | "logicalSessionTimeoutMinutes": null, |
| 50 | "setName": "rs" |
| 51 | } |
| 52 | } |
| 53 | ] |
| 54 | } |