From e0aab1fc79a89bf0c6ed639e7823b27e73acd1db Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 17 Oct 2011 16:44:08 +0200 Subject: [PATCH] MIGRATE +NOKEY error was missing the final CRLF causing a protocol error. --- src/cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster.c b/src/cluster.c index 45f5425a..d1642742 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1530,7 +1530,7 @@ void migrateCommand(redisClient *c) { * nothing to migrate (for instance the key expired in the meantime), but * we include such information in the reply string. */ if ((o = lookupKeyRead(c->db,c->argv[3])) == NULL) { - addReplySds(c,sdsnew("+NOKEY")); + addReplySds(c,sdsnew("+NOKEY\r\n")); return; }