Redis Commands

Docs  >   Redis Commands   >  Cluster   >   Cluster-myshardid

Top

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.

@return

@bulk-string-reply: The node's shard id.