Memory Edition (Cluster Architecture) is compatible with smart clients such as JedisCluster. For compatibility with JedisCluster, TencentDB for Redis modifies the IP list returned by the supported commands, and the IP address of each node in the returned information is the instance's private IPv4 Address.
CLUSTER NODES is used to get the information of each node in a Redis cluster, where each output line represents a node. Node information includes node ID, private IPv4 address and port, node role (master or replica), attributes, and assigned slots.
CLUSTER SLOTS is used to get the mapping relationship between cluster slots and Redis instances. Each returned result contains: