MCPcopy Create free account
hub / github.com/F-Stack/f-stack / undoConnectWithMaster

Function undoConnectWithMaster

app/redis-6.2.6/src/replication.c:2559–2562  ·  view source on GitHub ↗

This function can be called when a non blocking connection is currently * in progress to undo it. * Never call this function directly, use cancelReplicationHandshake() instead. */

Source from the content-addressed store, hash-verified

2557 * Never call this function directly, use cancelReplicationHandshake() instead.
2558 */
2559void undoConnectWithMaster(void) {
2560 connClose(server.repl_transfer_s);
2561 server.repl_transfer_s = NULL;
2562}
2563
2564/* Abort the async download of the bulk dataset while SYNC-ing with master.
2565 * Never call this function directly, use cancelReplicationHandshake() instead.

Callers 2

Calls 1

connCloseFunction · 0.85

Tested by

no test coverage detected