summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-05-08 17:15:26 +0200
committerantirez <antirez@gmail.com>2015-05-08 17:16:48 +0200
commit3eca0752a68e6b2185c35ed95b053f7f3562b618 (patch)
tree523859aa13ee1813bb0012540118b9352111cadb
parentb91434cab122f7760b7ae4b5c514eda17e644ac8 (diff)
downloadredis-3eca0752a68e6b2185c35ed95b053f7f3562b618.tar.gz
Sentinel: generate +sentinel again, removed in prev commit.
-rw-r--r--src/sentinel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sentinel.c b/src/sentinel.c
index 9524f42bc..8e0dd2005 100644
--- a/src/sentinel.c
+++ b/src/sentinel.c
@@ -2167,6 +2167,7 @@ void sentinelProcessHelloMessage(char *hello, int hello_len) {
si = createSentinelRedisInstance(NULL,SRI_SENTINEL,
token[0],port,master->quorum,master);
if (si) {
+ if (!removed) sentinelEvent(REDIS_NOTICE,"+sentinel",si,"%@");
/* The runid is NULL after a new instance creation and
* for Sentinels we don't have a later chance to fill it,
* so do it now. */