mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 00:31:21 +00:00
Sentinel: change event name when converting master to slave.
This commit is contained in:
@ -1545,7 +1545,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,"%@");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user