Commit 1f9580c1 authored by antirez's avatar antirez
Browse files

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

parent bb207007
......@@ -2520,6 +2520,7 @@ void sentinelCommand(redisClient *c) {
break;
}
} else {
sentinelFlushConfig();
addReply(c,shared.ok);
}
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment