提交 dfa5f8b7 编写于 作者: A antirez

Sentinel: change event name when converting master to slave.

上级 24158d14
......@@ -1543,7 +1543,7 @@ void sentinelRefreshInstanceInfo(sentinelRedisInstance *ri, const char *info) {
ri->master->addr->ip,
ri->master->addr->port);
if (retval == REDIS_OK)
sentinelEvent(REDIS_NOTICE,"+demote-old-slave",ri,"%@");
sentinelEvent(REDIS_NOTICE,"+convert-to-slave",ri,"%@");
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册