| 1 |
{ |
| 2 |
"description": "Non-stale topologyVersion greater ShutdownInProgress error", |
| 3 |
"uri": "mongodb://a/?replicaSet=rs", |
| 4 |
"phases": [ |
| 5 |
{ |
| 6 |
"description": "Primary A is discovered", |
| 7 |
"responses": [ |
| 8 |
[ |
| 9 |
"a:27017", |
| 10 |
{ |
| 11 |
"ok": 1, |
| 12 |
"helloOk": true, |
| 13 |
"isWritablePrimary": true, |
| 14 |
"hosts": [ |
| 15 |
"a:27017" |
| 16 |
], |
| 17 |
"setName": "rs", |
| 18 |
"minWireVersion": 0, |
| 19 |
"maxWireVersion": 9, |
| 20 |
"topologyVersion": { |
| 21 |
"processId": { |
| 22 |
"$oid": "000000000000000000000001" |
| 23 |
}, |
| 24 |
"counter": { |
| 25 |
"$numberLong": "1" |
| 26 |
} |
| 27 |
} |
| 28 |
} |
| 29 |
] |
| 30 |
], |
| 31 |
"outcome": { |
| 32 |
"servers": { |
| 33 |
"a:27017": { |
| 34 |
"type": "RSPrimary", |
| 35 |
"setName": "rs", |
| 36 |
"topologyVersion": { |
| 37 |
"processId": { |
| 38 |
"$oid": "000000000000000000000001" |
| 39 |
}, |
| 40 |
"counter": { |
| 41 |
"$numberLong": "1" |
| 42 |
} |
| 43 |
}, |
| 44 |
"pool": { |
| 45 |
"generation": 0 |
| 46 |
} |
| 47 |
} |
| 48 |
}, |
| 49 |
"topologyType": "ReplicaSetWithPrimary", |
| 50 |
"logicalSessionTimeoutMinutes": null, |
| 51 |
"setName": "rs" |
| 52 |
} |
| 53 |
}, |
| 54 |
{ |
| 55 |
"description": "Non-stale topologyVersion greater ShutdownInProgress error marks server Unknown", |
| 56 |
"applicationErrors": [ |
| 57 |
{ |
| 58 |
"address": "a:27017", |
| 59 |
"when": "afterHandshakeCompletes", |
| 60 |
"maxWireVersion": 9, |
| 61 |
"type": "command", |
| 62 |
"response": { |
| 63 |
"ok": 0, |
| 64 |
"errmsg": "ShutdownInProgress", |
| 65 |
"code": 91, |
| 66 |
"topologyVersion": { |
| 67 |
"processId": { |
| 68 |
"$oid": "000000000000000000000001" |
| 69 |
}, |
| 70 |
"counter": { |
| 71 |
"$numberLong": "2" |
| 72 |
} |
| 73 |
} |
| 74 |
} |
| 75 |
} |
| 76 |
], |
| 77 |
"outcome": { |
| 78 |
"servers": { |
| 79 |
"a:27017": { |
| 80 |
"type": "Unknown", |
| 81 |
"topologyVersion": { |
| 82 |
"processId": { |
| 83 |
"$oid": "000000000000000000000001" |
| 84 |
}, |
| 85 |
"counter": { |
| 86 |
"$numberLong": "2" |
| 87 |
} |
| 88 |
}, |
| 89 |
"pool": { |
| 90 |
"generation": 1 |
| 91 |
} |
| 92 |
} |
| 93 |
}, |
| 94 |
"topologyType": "ReplicaSetNoPrimary", |
| 95 |
"logicalSessionTimeoutMinutes": null, |
| 96 |
"setName": "rs" |
| 97 |
} |
| 98 |
} |
| 99 |
] |
| 100 |
} |