From d0bc4fff18afdf9e5421cc88e23ffbb876ecaec3 Mon Sep 17 00:00:00 2001 From: Madelyn Olson <34459052+madolson@users.noreply.github.com> Date: Sun, 30 Jan 2022 23:57:10 -0800 Subject: [PATCH] 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. --- src/commands.c | 1 + src/commands/cluster-slots.json | 4 ++++ 2 files changed, 5 insertions(+) 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": [