MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / abort

Method abort

src/replication.cpp:1141–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
1150int rdbSaveSnapshotForReplication(rdbSaveInfo *rsi) {

Callers 1

Calls 2

freeClientAsyncFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected