| 1 | { |
| 2 | "description": "Primary with older topologyVersion", |
| 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": 9, |
| 19 | "topologyVersion": { |
| 20 | "processId": { |
| 21 | "$oid": "000000000000000000000001" |
| 22 | }, |
| 23 | "counter": { |
| 24 | "$numberLong": "1" |
| 25 | } |
| 26 | } |
| 27 | } |
| 28 | ] |
| 29 | ], |
| 30 | "outcome": { |
| 31 | "servers": { |
| 32 | "a:27017": { |
| 33 | "type": "RSPrimary", |
| 34 | "setName": "rs", |
| 35 | "topologyVersion": { |
| 36 | "processId": { |
| 37 | "$oid": "000000000000000000000001" |
| 38 | }, |
| 39 | "counter": { |
| 40 | "$numberLong": "1" |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | }, |
| 45 | "topologyType": "ReplicaSetWithPrimary", |
| 46 | "logicalSessionTimeoutMinutes": null, |
| 47 | "setName": "rs" |
| 48 | } |
| 49 | }, |
| 50 | { |
| 51 | "responses": [ |
| 52 | [ |
| 53 | "a:27017", |
| 54 | { |
| 55 | "ok": 1, |
| 56 | "helloOk": true, |
| 57 | "isWritablePrimary": true, |
| 58 | "hosts": [ |
| 59 | "a:27017", |
| 60 | "b:27017" |
| 61 | ], |
| 62 | "setName": "rs", |
| 63 | "minWireVersion": 0, |
| 64 | "maxWireVersion": 9, |
| 65 | "topologyVersion": { |
| 66 | "processId": { |
| 67 | "$oid": "000000000000000000000001" |
| 68 | }, |
| 69 | "counter": { |
| 70 | "$numberLong": "0" |
| 71 | } |
| 72 | } |
| 73 | } |
| 74 | ] |
| 75 | ], |
| 76 | "outcome": { |
| 77 | "servers": { |
| 78 | "a:27017": { |
| 79 | "type": "RSPrimary", |
| 80 | "setName": "rs", |
| 81 | "topologyVersion": { |
| 82 | "processId": { |
| 83 | "$oid": "000000000000000000000001" |
| 84 | }, |
| 85 | "counter": { |
| 86 | "$numberLong": "1" |
| 87 | } |
| 88 | } |
| 89 | } |
| 90 | }, |
| 91 | "topologyType": "ReplicaSetWithPrimary", |
| 92 | "logicalSessionTimeoutMinutes": null, |
| 93 | "setName": "rs" |
| 94 | } |
| 95 | } |
| 96 | ] |
| 97 | } |