mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
first attempt to non blocking implementation of slave replication and SYNC bulk data download. Never compiled so far...
This commit is contained in:
@ -467,6 +467,7 @@ void freeClient(redisClient *c) {
|
||||
/* Case 2: we lost the connection with the master. */
|
||||
if (c->flags & REDIS_MASTER) {
|
||||
server.master = NULL;
|
||||
/* FIXME */
|
||||
server.replstate = REDIS_REPL_CONNECT;
|
||||
/* Since we lost the connection with the master, we should also
|
||||
* close the connection with all our slaves if we have any, so
|
||||
|
Reference in New Issue
Block a user