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

change the cluster-node-timeout from 1 to 1000
This commit is contained in:
Binbin 2022-08-19 00:18:18 +08:00 committed by GitHub
parent 223046ec9a
commit 3a16ad30b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -6929,8 +6929,8 @@ int clusterRedirectBlockedClientIfNeeded(client *c) {
return 1;
}
/* If the client is blocked on module, but ont on a specific key,
* don't unblock it (except for the CLSUTER_FAIL case above). */
/* If the client is blocked on module, but not on a specific key,
* don't unblock it (except for the CLUSTER_FAIL case above). */
if (c->btype == BLOCKED_MODULE && !moduleClientIsBlockedOnKeys(c))
return 0;

View File

@ -10,7 +10,7 @@ set ::singledb 1
tags {tls:skip external:skip cluster} {
# 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] {
set node1 [srv 0 client]