| 1 | description: "Member removed by reconfig" |
| 2 | |
| 3 | uri: "mongodb://a,b/?replicaSet=rs" |
| 4 | |
| 5 | phases: [ |
| 6 | |
| 7 | { |
| 8 | responses: [ |
| 9 | |
| 10 | ["a:27017", { |
| 11 | |
| 12 | ok: 1, |
| 13 | helloOk: true, |
| 14 | isWritablePrimary: true, |
| 15 | setName: "rs", |
| 16 | hosts: ["a:27017", "b:27017"], |
| 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 | "b:27017": { |
| 33 | |
| 34 | type: "Unknown", |
| 35 | setName: |
| 36 | } |
| 37 | }, |
| 38 | topologyType: "ReplicaSetWithPrimary", |
| 39 | logicalSessionTimeoutMinutes: null, |
| 40 | setName: "rs" |
| 41 | } |
| 42 | }, |
| 43 | |
| 44 | { |
| 45 | responses: [ |
| 46 | |
| 47 | ["a:27017", { |
| 48 | |
| 49 | ok: 1, |
| 50 | helloOk: true, |
| 51 | isWritablePrimary: true, |
| 52 | setName: "rs", |
| 53 | hosts: ["a:27017"], |
| 54 | minWireVersion: 0, |
| 55 | maxWireVersion: 6 |
| 56 | }] |
| 57 | ], |
| 58 | |
| 59 | outcome: { |
| 60 | |
| 61 | servers: { |
| 62 | |
| 63 | "a:27017": { |
| 64 | |
| 65 | type: "RSPrimary", |
| 66 | setName: "rs" |
| 67 | } |
| 68 | }, |
| 69 | topologyType: "ReplicaSetWithPrimary", |
| 70 | logicalSessionTimeoutMinutes: null, |
| 71 | setName: "rs" |
| 72 | } |
| 73 | } |
| 74 | ] |