From: Graeme Fowler Date: Wed, 7 Mar 2018 17:41:23 +0000 (+0000) Subject: Redis cluster DEFER & test results corrected X-Git-Tag: exim-4_91_RC1~21 X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=commitdiff_plain;h=e29b631dc8f5694dd5964b40a85086015fdff054;ds=inline Redis cluster DEFER & test results corrected --- 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 -> +>