| 1 | { |
| 2 | "description": "Discover RSOther with replicaSet URI option", |
| 3 | "uri": "mongodb://a,b/?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 | "hidden": true, |
| 15 | "hosts": [ |
| 16 | "c:27017", |
| 17 | "d:27017" |
| 18 | ], |
| 19 | "setName": "rs", |
| 20 | "minWireVersion": 0, |
| 21 | "maxWireVersion": 6 |
| 22 | } |
| 23 | ], |
| 24 | [ |
| 25 | "b:27017", |
| 26 | { |
| 27 | "ok": 1, |
| 28 | "helloOk": true, |
| 29 | "isWritablePrimary": false, |
| 30 | "secondary": false, |
| 31 | "hosts": [ |
| 32 | "c:27017", |
| 33 | "d:27017" |
| 34 | ], |
| 35 | "setName": "rs", |
| 36 | "minWireVersion": 0, |
| 37 | "maxWireVersion": 6 |
| 38 | } |
| 39 | ] |
| 40 | ], |
| 41 | "outcome": { |
| 42 | "servers": { |
| 43 | "a:27017": { |
| 44 | "type": "RSOther", |
| 45 | "setName": "rs" |
| 46 | }, |
| 47 | "b:27017": { |
| 48 | "type": "RSOther", |
| 49 | "setName": "rs" |
| 50 | }, |
| 51 | "c:27017": { |
| 52 | "type": "Unknown", |
| 53 | "setName": null |
| 54 | }, |
| 55 | "d:27017": { |
| 56 | "type": "Unknown", |
| 57 | "setName": null |
| 58 | } |
| 59 | }, |
| 60 | "topologyType": "ReplicaSetNoPrimary", |
| 61 | "logicalSessionTimeoutMinutes": null, |
| 62 | "setName": "rs" |
| 63 | } |
| 64 | } |
| 65 | ] |
| 66 | } |