跳转到主要内容

cluster-myshardid

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.