Skip to main content

CLUSTER HELP

Syntax​

CLUSTER HELP

Time complexity: O(1)

ACL categories: @slow

The CLUSTER HELP command returns a helpful text describing the CLUSTER subcommands.

See CLUSTER for the full list of supported subcommands.

Like every CLUSTER subcommand, CLUSTER HELP requires --cluster_mode=emulated or --cluster_mode=yes. Otherwise, it returns ERR Cluster is disabled. Enabled via passing --cluster_mode=emulated|yes.

Return​

Array reply: a list of subcommands and their descriptions.

Examples​

dragonfly> CLUSTER HELP
1) CLUSTER <subcommand> [<arg> [value] [opt] ...]. Subcommands are:
2) SLOTS
3) Return information about slots range mappings. Each range is made of:
4) start, end, master and replicas IP addresses, ports and ids.
5) NODES
6) Return cluster configuration seen by node. Output format:
7) <id> <ip:port> <flags> <master> <pings> <pongs> <epoch> <link> <slot> ...
8) INFO
9) Return information about the cluster
10) HELP
11) Prints this help.

See also​

CLUSTER | Cluster Mode