mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
server.replstate -> server.repl_state
This commit is contained in:
@ -519,7 +519,7 @@ void freeClient(redisClient *c) {
|
||||
/* Case 2: we lost the connection with the master. */
|
||||
if (c->flags & REDIS_MASTER) {
|
||||
server.master = NULL;
|
||||
server.replstate = REDIS_REPL_CONNECT;
|
||||
server.repl_state = REDIS_REPL_CONNECT;
|
||||
server.repl_down_since = time(NULL);
|
||||
/* 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