summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadelyn Olson <34459052+madolson@users.noreply.github.com>2022-01-30 23:57:10 -0800
committerGitHub <noreply@github.com>2022-01-30 23:57:10 -0800
commitd0bc4fff18afdf9e5421cc88e23ffbb876ecaec3 (patch)
treec718ffdecc42b3b011c48047c95871253a73b8b8
parent8b1cda756812ba5fb697b0126cfbfa9dcd312bc8 (diff)
downloadredis-d0bc4fff18afdf9e5421cc88e23ffbb876ecaec3.tar.gz
Added history for cluster-slots changes for hostnames(#10216)
* The first field was previously only an IP address, it can now be a hostname or NULL. * There is now a fourth field, which has more information.
-rw-r--r--src/commands.c1
-rw-r--r--src/commands/cluster-slots.json4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/commands.c b/src/commands.c
index 03e70afbb..62291f33f 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -624,6 +624,7 @@ struct redisCommandArg CLUSTER_SLAVES_Args[] = {
/* CLUSTER SLOTS history */
commandHistory CLUSTER_SLOTS_History[] = {
{"4.0.0","Added node IDs."},
+{"7.0.0","Added additional networking metadata and added support for hostnames and unknown endpoints."},
{0}
};
diff --git a/src/commands/cluster-slots.json b/src/commands/cluster-slots.json
index 4f0b6f291..fda842466 100644
--- a/src/commands/cluster-slots.json
+++ b/src/commands/cluster-slots.json
@@ -11,6 +11,10 @@
[
"4.0.0",
"Added node IDs."
+ ],
+ [
+ "7.0.0",
+ "Added additional networking metadata and added support for hostnames and unknown endpoints."
]
],
"command_flags": [