From b35e20d1defe5cb77e54de583b01d669200a3a51 Mon Sep 17 00:00:00 2001 From: Job Henandez Lara Date: Wed, 5 Jul 2023 00:27:14 -0700 Subject: [PATCH] redis-benchmark: add documentation for the amount of clients needed (#12372) In cluster mode, we need more clients than the number of nodes. --- src/redis-benchmark.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c index 2eb689e9f..1ee562f20 100644 --- a/src/redis-benchmark.c +++ b/src/redis-benchmark.c @@ -1614,7 +1614,9 @@ usage: " -a Password for Redis Auth\n" " --user Used to send ACL style 'AUTH username pass'. Needs -a.\n" " -u Server URI.\n" -" -c Number of parallel connections (default 50)\n" +" -c Number of parallel connections (default 50).\n" +" Note: If --cluster is used then number of clients has to be\n" +" the same or higher than the number of nodes.\n" " -n Total number of requests (default 100000)\n" " -d Data size of SET/GET value in bytes (default 3)\n" " --dbnum SELECT the specified db number (default 0)\n"