| 1 | description: "Monitoring a topology that is a replica set with a primary connected" |
| 2 | uri: "mongodb://a,b" |
| 3 | phases: |
| 4 | - |
| 5 | responses: |
| 6 | - |
| 7 | - "a:27017" |
| 8 | - |
| 9 | ok: 1 |
| 10 | helloOk: true |
| 11 | isWritablePrimary: true |
| 12 | setName: "rs" |
| 13 | setVersion: 1 |
| 14 | primary: "a:27017" |
| 15 | hosts: |
| 16 | - "a:27017" |
| 17 | - "b:27017" |
| 18 | minWireVersion: 0 |
| 19 | maxWireVersion: 6 |
| 20 | outcome: |
| 21 | events: |
| 22 | - |
| 23 | topology_opening_event: |
| 24 | topologyId: "42" |
| 25 | - |
| 26 | topology_description_changed_event: |
| 27 | topologyId: "42" |
| 28 | previousDescription: |
| 29 | topologyType: "Unknown" |
| 30 | servers: [] |
| 31 | newDescription: |
| 32 | topologyType: "Unknown" |
| 33 | servers: |
| 34 | - |
| 35 | address: "a:27017" |
| 36 | arbiters: [] |
| 37 | hosts: [] |
| 38 | passives: [] |
| 39 | type: "Unknown" |
| 40 | - |
| 41 | address: "b:27017" |
| 42 | arbiters: [] |
| 43 | hosts: [] |
| 44 | passives: [] |
| 45 | type: "Unknown" |
| 46 | - |
| 47 | server_opening_event: |
| 48 | topologyId: "42" |
| 49 | address: "a:27017" |
| 50 | - |
| 51 | server_opening_event: |
| 52 | topologyId: "42" |
| 53 | address: "b:27017" |
| 54 | - |
| 55 | server_description_changed_event: |
| 56 | topologyId: "42" |
| 57 | address: "a:27017" |
| 58 | previousDescription: |
| 59 | address: "a:27017" |
| 60 | arbiters: [] |
| 61 | hosts: [] |
| 62 | passives: [] |
| 63 | type: "Unknown" |
| 64 | newDescription: |
| 65 | address: "a:27017" |
| 66 | arbiters: [] |
| 67 | hosts: |
| 68 | - "a:27017" |
| 69 | - "b:27017" |
| 70 | passives: [] |
| 71 | primary: "a:27017" |
| 72 | setName: "rs" |
| 73 | type: "RSPrimary" |
| 74 | - |
| 75 | topology_description_changed_event: |
| 76 | topologyId: "42" |
| 77 | previousDescription: |
| 78 | topologyType: "Unknown" |
| 79 | servers: |
| 80 | - |
| 81 | address: "a:27017" |
| 82 | arbiters: [] |
| 83 | hosts: [] |
| 84 | passives: [] |
| 85 | type: "Unknown" |
| 86 | - |
| 87 | address: "b:27017" |
| 88 | arbiters: [] |
| 89 | hosts: [] |
| 90 | passives: [] |
| 91 | type: "Unknown" |
| 92 | newDescription: |
| 93 | topologyType: "ReplicaSetWithPrimary" |
| 94 | setName: "rs" |
| 95 | servers: |
| 96 | - |
| 97 | address: "a:27017" |
| 98 | arbiters: [] |
| 99 | hosts: |
| 100 | - "a:27017" |
| 101 | - "b:27017" |
| 102 | passives: [] |
| 103 | primary: "a:27017" |
| 104 | setName: "rs" |
| 105 | type: "RSPrimary" |
| 106 | - |
| 107 | address: "b:27017" |
| 108 | arbiters: [] |
| 109 | hosts: [] |
| 110 | passives: [] |
| 111 | type: "Unknown" |
| 112 |