diff options
Diffstat (limited to 'src/replication.c')
-rw-r--r-- | src/replication.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/replication.c b/src/replication.c index cf4db3e3a..1207e060b 100644 --- a/src/replication.c +++ b/src/replication.c @@ -2206,6 +2206,7 @@ void replicationResurrectCachedMaster(int newfd) { /* Re-add to the list of clients. */ listAddNodeTail(server.clients,server.master); + server.master->client_list_node = listLast(server.clients); if (aeCreateFileEvent(server.el, newfd, AE_READABLE, readQueryFromClient, server.master)) { serverLog(LL_WARNING,"Error resurrecting the cached master, impossible to add the readable handler: %s", strerror(errno)); |