Commit 9d0f46c6 authored by antirez's avatar antirez
Browse files

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

parent d4f296bc
......@@ -2518,6 +2518,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