1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| *23 +CLUSTER <subcommand> arg arg ... arg. Subcommands are: +ADDSLOTS <slot> [slot ...] -- Assign slots to current node. +BUMPEPOCH -- Advance the cluster config epoch. +COUNT-failure-reports <node-id> -- Return number of failure reports for <node-id>. +COUNTKEYSINSLOT <slot> - Return the number of keys in <slot>. +DELSLOTS <slot> [slot ...] -- Delete slots information from current node. +FAILOVER [force|takeover] -- Promote current replica node to being a master. +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 onformation 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. +NODES -- Return cluster configuration seen by node. Output format: + <id> <ip:port> <flags> <master> <pings> <pongs> <epoch> <link> <slot> ... <slot> +REPLICATE <node-id> -- Configure current node as replica to <node-id>. +RESET [hard|soft] -- Reset current node (default: soft). +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. +SLOTS -- Return information about slots range mappings. Each range is made of: + start, end, master and replicas IP addresses, ports and ids
|