Unverified Commit 3a16ad30 authored by Binbin's avatar Binbin Committed by GitHub
Browse files

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

change the cluster-node-timeout from 1 to 1000
parent 223046ec
...@@ -6929,8 +6929,8 @@ int clusterRedirectBlockedClientIfNeeded(client *c) { ...@@ -6929,8 +6929,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;
......
...@@ -10,7 +10,7 @@ set ::singledb 1 ...@@ -10,7 +10,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