tencent cloud

Tencent Cloud Distributed Cache (Redis OSS-Compatible)

Redis/Valkey Edition Partially Supported Command Usage Examples

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-03-17 20:49:53
Tencent Cloud Distributed Cache Cluster Architecture is compatible with smart clients such as JedisCluster. For compatibility with JedisCluster, Tencent Cloud Distributed Cache 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

CLUSTER NODES is used to get the information of each node in a Tencent Cloud Distributed Cache 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. For more details, see the CLUSTER NODES command.


CLUSTER SLOTS

CLUSTER SLOTS is used to get the mapping relationship between cluster slots and Redis instances. Each returned result contains:
Start slot range.
End slot range.
Information of the cluster's master node corresponding to the slot range, including the private IPv4 address, port, and node ID.
Information of the first replica of the cluster's master node corresponding to the slot range.
Information of the second replica.
And so on in a similar manner until the information of all replicas is returned.



도움말 및 지원

문제 해결에 도움이 되었나요?

피드백