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. */
| 2557 | * Never call this function directly, use cancelReplicationHandshake() instead. |
| 2558 | */ |
| 2559 | void 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. |
no test coverage detected