diff --git a/src/sentinel.c b/src/sentinel.c index 7fdc45e36bed6cd271913f4fa157307fdf354060..70b6aa27c8bf83f7679d49b4bd81e01cceddee17 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;