CLUSTER MYSHARDID

CLUSTER MYSHARDID

CLUSTER MYSHARDID
Available since
7.2.0
Time complexity
O(1)
ACL categories
@slow

Returns the node’s shard id.

The CLUSTER MYSHARDID command returns the unique, auto-generated identifier that is associated with the shard to which the connected cluster node belongs.

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.