mirror of https://mirror.osredm.com/root/redis.git
Sentinel: change event name when converting master to slave.
This commit is contained in:
parent
24158d1488
commit
dfa5f8b777
|
@ -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,"%@");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue