X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/8bdde086ac393a22ba80b74f317f882ab6f5e63e..7eb850ef0e437323e2d84157ddc2e6e82af57bbc:/src/sentinel.c?ds=sidebyside diff --git a/src/sentinel.c b/src/sentinel.c index 7fdc45e3..70b6aa27 100644 --- a/src/sentinel.c +++ b/src/sentinel.c @@ -2005,6 +2005,8 @@ void sentinelCommand(redisClient *c) { ri = sentinelGetMasterByName(c->argv[2]->ptr); if (ri == NULL) { addReply(c,shared.nullmultibulk); + } else if (ri->info_refresh == 0) { + addReplySds(c,sdsnew("-IDONTKNOW I have not enough information to reply. Please ask another Sentinel.\r\n")); } else { sentinelAddr *addr = ri->addr;