summaryrefslogtreecommitdiff
path: root/tests/cluster/cluster.tcl
diff options
context:
space:
mode:
authorMadelyn Olson <34459052+madolson@users.noreply.github.com>2022-01-02 19:48:29 -0800
committerGitHub <noreply@github.com>2022-01-02 19:48:29 -0800
commit5460c100471fda537468d1f1fa43258638c8a1ce (patch)
treefb35dbd18cbab8c0b9e6b094d61521d20e800169 /tests/cluster/cluster.tcl
parent9f8885760b53e6d3952b9c9b41f9e6c48dfa6cec (diff)
downloadredis-5460c100471fda537468d1f1fa43258638c8a1ce.tar.gz
Implement clusterbus message extensions and cluster hostname support (#9530)
Implement the ability for cluster nodes to advertise their location with extension messages.
Diffstat (limited to 'tests/cluster/cluster.tcl')
-rw-r--r--tests/cluster/cluster.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cluster/cluster.tcl b/tests/cluster/cluster.tcl
index 31e0c3667..531e90d6c 100644
--- a/tests/cluster/cluster.tcl
+++ b/tests/cluster/cluster.tcl
@@ -142,7 +142,8 @@ proc cluster_allocate_with_continuous_slots {n} {
}
}
-# Create a cluster composed of the specified number of masters and slaves with continuous slots.
+# Create a cluster composed of the specified number of masters and slaves,
+# but with a continuous slot range.
proc cluster_create_with_continuous_slots {masters slaves} {
cluster_allocate_with_continuous_slots $masters
if {$slaves} {