From e29b631dc8f5694dd5964b40a85086015fdff054 Mon Sep 17 00:00:00 2001 From: Graeme Fowler Date: Wed, 7 Mar 2018 17:41:23 +0000 Subject: [PATCH] Redis cluster DEFER & test results corrected --- src/src/lookups/redis.c | 6 +++--- test/stdout/2701 | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/src/lookups/redis.c b/src/src/lookups/redis.c index dcd1b659c..e9ddf884c 100644 --- a/src/src/lookups/redis.c +++ b/src/src/lookups/redis.c @@ -248,12 +248,12 @@ switch (redis_reply->type) DEBUG(D_lookup) debug_printf("REDIS: cluster redirect %s\n", redis_reply->str); /* follow redirect - This is cheating, we simply set defer_break = TRUE to move on to + This is cheating, we simply set defer_break = FALSE to move on to the next server in the redis_servers list */ - *defer_break = TRUE; + *defer_break = FALSE; return DEFER; } else { - *defer_break = FALSE; + *defer_break = TRUE; } *do_cache = 0; goto REDIS_EXIT; diff --git a/test/stdout/2701 b/test/stdout/2701 index 67555c52a..96e4827b1 100644 --- a/test/stdout/2701 +++ b/test/stdout/2701 @@ -1,7 +1,7 @@ OK > OK > OK -> +> > objvalue plus > bfhdkbflks -> +> -- 2.25.1