Sentinel: flush config on disk when new master is added.
This commit is contained in:
parent
7dae2c3681
commit
282b2b4660
@ -2518,6 +2518,7 @@ void sentinelCommand(redisClient *c) {
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
sentinelFlushConfig();
|
||||
addReply(c,shared.ok);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user