CLUSTER MYID

Syntax
CLUSTER MYID
Available since:
3.0.0
Time complexity:
O(1)
ACL categories:
@slow,

Returns the node's id.

The CLUSTER MYID command returns the unique, auto-generated identifier that is associated with the connected cluster node.

RESP2/RESP3 Reply

Bulk string reply: the node ID.
RATE THIS PAGE
Back to top ↑