| 1139 | } |
| 1140 | |
| 1141 | void abort() { |
| 1142 | for (auto replica : replicas) { |
| 1143 | // Close the connection to force a resync |
| 1144 | freeClientAsync(replica); |
| 1145 | } |
| 1146 | replicas.clear(); |
| 1147 | } |
| 1148 | }; |
| 1149 | |
| 1150 | int rdbSaveSnapshotForReplication(rdbSaveInfo *rsi) { |
no test coverage detected