CLUSTER MYID

CLUSTER MYID

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.

Redict logo courtesy of @janWilejan, CC-BY-SA-4.0. Download SVG ⤑

Portions of this website courtesy of Salvatore Sanfilippo, CC-BY-SA-4.0.