Redis中cluster命令详解

CLUSTER ADDSLOTS slot slot ...

summary: Assign new hash slots to receiving node

since: 3.0.0

CLUSTER BUMPEPOCH -

summary: Advance the cluster config epoch

since: 3.0.0

CLUSTER COUNT-FAILURE-REPORTS node-id

summary: Return the number of failure reports active for a given node

since: 3.0.0

CLUSTER COUNTKEYSINSLOT slot

summary: Return the number of local keys in the specified hash slot

since: 3.0.0

CLUSTER DELSLOTS slot slot ...

summary: Set hash slots as unbound in receiving node

since: 3.0.0

CLUSTER FAILOVER FORCE\|TAKEOVER

summary: Forces a replica to perform a manual failover of its master.

since: 3.0.0

CLUSTER FLUSHSLOTS -

summary: Delete a node's own slots information

since: 3.0.0

CLUSTER FORGET node-id

summary: Remove a node from the nodes table

since: 3.0.0

CLUSTER GETKEYSINSLOT slot count

summary: Return local key names in the specified hash slot

since: 3.0.0

CLUSTER INFO -

summary: Provides info about Redis Cluster node state

since: 3.0.0

CLUSTER KEYSLOT key

summary: Returns the hash slot of the specified key

since: 3.0.0

CLUSTER MEET ip port

summary: Force a node cluster to handshake with another node

since: 3.0.0

CLUSTER MYID -

summary: Return the node id

since: 3.0.0

CLUSTER NODES -

summary: Get Cluster config for the node

since: 3.0.0

CLUSTER REPLICAS node-id

summary: List replica nodes of the specified master node

since: 5.0.0

CLUSTER REPLICATE node-id

summary: Reconfigure a node as a replica of the specified master node

since: 3.0.0

CLUSTER RESET HARD\|SOFT

summary: Reset a Redis Cluster node

since: 3.0.0

CLUSTER SAVECONFIG -

summary: Forces the node to save cluster state on disk

since: 3.0.0

CLUSTER SET-CONFIG-EPOCH config-epoch

summary: Set the configuration epoch in a new node

since: 3.0.0

CLUSTER SETSLOT slot IMPORTING|MIGRATING|STABLE|NODE node-id

summary: Bind a hash slot to a specific node

since: 3.0.0

CLUSTER SLAVES node-id

summary: List replica nodes of the specified master node

since: 3.0.0

CLUSTER SLOTS -

summary: Get array of Cluster slot to node mappings

since: 3.0.0

READONLY -

summary: Enables read queries for a connection to a cluster replica node

since: 3.0.0

READWRITE -

summary: Disables read queries for a connection to a cluster replica node

since: 3.0.0

相关推荐
天疆说21 分钟前
04 稳定性与性能调优实录:OOM 崩溃、并发槽位、前缀缓存与 DSpark 调参
linux·运维·缓存
倒流时光三十年23 分钟前
第六阶段 57 · ES|QL 与 SQL API(用 SQL 查 ES)
数据库·sql·elasticsearch
csdn2015_27 分钟前
springboot +mybatis 查询myql开启程序级别缓存
spring boot·缓存·mybatis
隔窗听雨眠29 分钟前
缓存增强生成CAG:用预加载KV缓存突破RAG实时检索瓶颈
缓存
breeze jiang1 小时前
Next.js App Router 父子组件 RSC 拆分实战:从 Redis Hash 到客户端交互的最小化边界
javascript·redis·哈希算法
努力进修1 小时前
“数据心脏” 驱动能源自主:国产数据库支撑 Cemsol 实现固井全流程数字化闭环
数据库·人工智能·能源
vHelios1 小时前
SQL不会写?不会找关联表?复杂SQL语句编写逻辑实现思路请查收✉
数据库·sql
DB哥讲数据库2 小时前
【ClickHouse安装教程】从零开始部署高性能列式数据库(附ClickHouse安装包)
数据库·clickhouse
光影少年2 小时前
react离线缓存、图片缓存方案
开发语言·前端·javascript·react native·react.js·缓存·前端框架
TDengine (老段)2 小时前
TDengine 第三方工具 — Telegraf、Kafka Connect、Flink、Spark
大数据·数据库·物联网·flink·kafka·时序数据库·tdengine