mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Merge pull request #7013 from hwware/clusterhelpfix
add missing commands description in cluster help
This commit is contained in:
commit
5634ee973c
@ -4261,7 +4261,7 @@ void clusterCommand(client *c) {
|
|||||||
"FORGET <node-id> -- Remove a node from the cluster.",
|
"FORGET <node-id> -- Remove a node from the cluster.",
|
||||||
"GETKEYSINSLOT <slot> <count> -- Return key names stored by current node in a slot.",
|
"GETKEYSINSLOT <slot> <count> -- Return key names stored by current node in a slot.",
|
||||||
"FLUSHSLOTS -- Delete current node own slots information.",
|
"FLUSHSLOTS -- Delete current node own slots information.",
|
||||||
"INFO - Return onformation about the cluster.",
|
"INFO - Return information about the cluster.",
|
||||||
"KEYSLOT <key> -- Return the hash slot for <key>.",
|
"KEYSLOT <key> -- Return the hash slot for <key>.",
|
||||||
"MEET <ip> <port> [bus-port] -- Connect nodes into a working cluster.",
|
"MEET <ip> <port> [bus-port] -- Connect nodes into a working cluster.",
|
||||||
"MYID -- Return the node id.",
|
"MYID -- Return the node id.",
|
||||||
@ -4272,6 +4272,7 @@ void clusterCommand(client *c) {
|
|||||||
"SET-config-epoch <epoch> - Set config epoch of current node.",
|
"SET-config-epoch <epoch> - Set config epoch of current node.",
|
||||||
"SETSLOT <slot> (importing|migrating|stable|node <node-id>) -- Set slot state.",
|
"SETSLOT <slot> (importing|migrating|stable|node <node-id>) -- Set slot state.",
|
||||||
"REPLICAS <node-id> -- Return <node-id> replicas.",
|
"REPLICAS <node-id> -- Return <node-id> replicas.",
|
||||||
|
"SAVECONFIG - Force saving cluster configuration on disk.",
|
||||||
"SLOTS -- Return information about slots range mappings. Each range is made of:",
|
"SLOTS -- Return information about slots range mappings. Each range is made of:",
|
||||||
" start, end, master and replicas IP addresses, ports and ids",
|
" start, end, master and replicas IP addresses, ports and ids",
|
||||||
NULL
|
NULL
|
||||||
|
Loading…
Reference in New Issue
Block a user