mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 15:21:03 +00:00
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->ip,
|
||||||
ri->master->addr->port);
|
ri->master->addr->port);
|
||||||
if (retval == REDIS_OK)
|
if (retval == REDIS_OK)
|
||||||
sentinelEvent(REDIS_NOTICE,"+demote-old-slave",ri,"%@");
|
sentinelEvent(REDIS_NOTICE,"+convert-to-slave",ri,"%@");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user