mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Add bus_port argument in cluster-meet.json (#10304)
In `CLUSTER MEET`, bus-port argument was added in 11436b1
.
For cluster announce ip / port implementation, part of the
4.0-RC1.
And in #9389, we add a new cluster-port config and make
cluster bus port configurable, part of the 7.0-RC1.
This commit is contained in:
parent
49876158cc
commit
aabce8932a
@ -470,7 +470,10 @@ NULL
|
||||
/********** CLUSTER MEET ********************/
|
||||
|
||||
/* CLUSTER MEET history */
|
||||
#define CLUSTER_MEET_History NULL
|
||||
commandHistory CLUSTER_MEET_History[] = {
|
||||
{"4.0.0","Added the optional `bus_port` argument."},
|
||||
{0}
|
||||
};
|
||||
|
||||
/* CLUSTER MEET tips */
|
||||
const char *CLUSTER_MEET_tips[] = {
|
||||
@ -482,6 +485,7 @@ NULL
|
||||
struct redisCommandArg CLUSTER_MEET_Args[] = {
|
||||
{"ip",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE},
|
||||
{"port",ARG_TYPE_INTEGER,-1,NULL,NULL,NULL,CMD_ARG_NONE},
|
||||
{"bus_port",ARG_TYPE_INTEGER,-1,NULL,NULL,"4.0.0",CMD_ARG_OPTIONAL},
|
||||
{0}
|
||||
};
|
||||
|
||||
|
@ -7,6 +7,12 @@
|
||||
"arity": -4,
|
||||
"container": "CLUSTER",
|
||||
"function": "clusterCommand",
|
||||
"history": [
|
||||
[
|
||||
"4.0.0",
|
||||
"Added the optional `cluster_bus_port` argument."
|
||||
]
|
||||
],
|
||||
"command_flags": [
|
||||
"NO_ASYNC_LOADING",
|
||||
"ADMIN",
|
||||
@ -23,6 +29,12 @@
|
||||
{
|
||||
"name": "port",
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"name": "cluster_bus_port",
|
||||
"type": "integer",
|
||||
"optional": true,
|
||||
"since": "4.0.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user