diff --git a/src/server.cpp b/src/server.cpp index c9ac73e9f..c21d332fe 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3262,6 +3262,7 @@ void initMasterInfo(redisMaster *master) master->repl_state = REPL_STATE_NONE; master->repl_down_since = 0; /* Never connected, repl is down since EVER. */ master->mvccLastSync = 0; + master->repl_transfer_fd = -1; } void initServerConfig(void) {