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

相关推荐

  1. Rediscluster命令详解

    2024-04-20 19:26:01       38 阅读
  2. redisscan命令详解

    2024-04-20 19:26:01       52 阅读
  3. Redisconnection命令详解

    2024-04-20 19:26:01       35 阅读
  4. Redistransactions命令详解

    2024-04-20 19:26:01       26 阅读
  5. Redis Cluster

    2024-04-20 19:26:01       53 阅读
  6. Redis 的字符串数据结构详解及字符串命令

    2024-04-20 19:26:01       42 阅读
  7. Docker 快速构建 Redis Cluster 集群

    2024-04-20 19:26:01       38 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-20 19:26:01       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-20 19:26:01       106 阅读
  3. 在Django里面运行非项目文件

    2024-04-20 19:26:01       87 阅读
  4. Python语言-面向对象

    2024-04-20 19:26:01       96 阅读

热门阅读

  1. 2024年想要开视频号小店,需要准备什么东西?

    2024-04-20 19:26:01       54 阅读
  2. springboot发送邮件

    2024-04-20 19:26:01       26 阅读
  3. CentOS在配置文件中添加环境变量

    2024-04-20 19:26:01       42 阅读
  4. 前端面试常见问题

    2024-04-20 19:26:01       39 阅读
  5. Git学习笔记

    2024-04-20 19:26:01       36 阅读
  6. docker 容器中安装cron,却无法启动定时任务

    2024-04-20 19:26:01       37 阅读
  7. 云计算笔记

    2024-04-20 19:26:01       33 阅读
  8. 【QT】QChartView和QChart的一些图表设置

    2024-04-20 19:26:01       44 阅读
  9. 2024npm国内镜像源

    2024-04-20 19:26:01       34 阅读
  10. MongoDB学习【二】MongoDB数据模型

    2024-04-20 19:26:01       39 阅读