mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Sentinel: flush config on disk when new master is added.
This commit is contained in:
@@ -2518,6 +2518,7 @@ void sentinelCommand(redisClient *c) {
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
sentinelFlushConfig();
|
||||
addReply(c,shared.ok);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user