Commit a43c51b2 authored by Binbin's avatar Binbin Committed by Oran Agra
Browse files

Fix CLUSTERDOWN issue in cluster reshard unblock test (#11139)

change the cluster-node-timeout from 1 to 1000

(cherry picked from commit 3a16ad30)
parent d86408b7
...@@ -6888,8 +6888,8 @@ int clusterRedirectBlockedClientIfNeeded(client *c) { ...@@ -6888,8 +6888,8 @@ int clusterRedirectBlockedClientIfNeeded(client *c) {
return 1; return 1;
} }
/* If the client is blocked on module, but ont on a specific key, /* If the client is blocked on module, but not on a specific key,
* don't unblock it (except for the CLSUTER_FAIL case above). */ * don't unblock it (except for the CLUSTER_FAIL case above). */
if (c->btype == BLOCKED_MODULE && !moduleClientIsBlockedOnKeys(c)) if (c->btype == BLOCKED_MODULE && !moduleClientIsBlockedOnKeys(c))
return 0; return 0;
......
...@@ -24,7 +24,7 @@ set ::singledb 1 ...@@ -24,7 +24,7 @@ set ::singledb 1
tags {tls:skip external:skip cluster} { tags {tls:skip external:skip cluster} {
# start three servers # start three servers
set base_conf [list cluster-enabled yes cluster-node-timeout 1] set base_conf [list cluster-enabled yes cluster-node-timeout 1000]
start_multiple_servers 3 [list overrides $base_conf] { start_multiple_servers 3 [list overrides $base_conf] {
set node1 [srv 0 client] set node1 [srv 0 client]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment