Sentinel: flush config on disk when new master is added.

This commit is contained in:
antirez 2014-01-10 15:22:06 +01:00
parent bb207007ca
commit 1f9580c125

View File

@ -2520,6 +2520,7 @@ void sentinelCommand(redisClient *c) {
break;
}
} else {
sentinelFlushConfig();
addReply(c,shared.ok);
}
} else {