Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
5634ee97
Unverified
Commit
5634ee97
authored
Mar 20, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
Mar 20, 2020
Browse files
Merge pull request #7013 from hwware/clusterhelpfix
add missing commands description in cluster help
parents
1e16b938
93bb42a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
5634ee97
...
...
@@ -4261,7 +4261,7 @@ void clusterCommand(client *c) {
"FORGET <node-id> -- Remove a node from the cluster."
,
"GETKEYSINSLOT <slot> <count> -- Return key names stored by current node in a slot."
,
"FLUSHSLOTS -- Delete current node own slots information."
,
"INFO - Return
o
nformation about the cluster."
,
"INFO - Return
i
nformation about the cluster."
,
"KEYSLOT <key> -- Return the hash slot for <key>."
,
"MEET <ip> <port> [bus-port] -- Connect nodes into a working cluster."
,
"MYID -- Return the node id."
,
...
...
@@ -4272,6 +4272,7 @@ void clusterCommand(client *c) {
"SET-config-epoch <epoch> - Set config epoch of current node."
,
"SETSLOT <slot> (importing|migrating|stable|node <node-id>) -- Set slot state."
,
"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:"
,
" start, end, master and replicas IP addresses, ports and ids"
,
NULL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment