- Available since:
- Time complexity:
- ACL categories:
Returns the node's shard id.
CLUSTER MYSHARDID command returns the unique, auto-generated identifier that is associated with the shard to which the connected cluster node belongs.
Bulk string reply: The node's shard id.