【问题标题】:How can I disable redis master-slave replication with Sentinel如何使用 Sentinel 禁用 redis 主从复制
【发布时间】:2017-03-05 14:23:05
【问题描述】:

我们有一个带有 Redis Sentinel(3 sentinel 1 master 1 slave)的应用程序。我们根本不需要复制。如何关闭复制?

【问题讨论】:

    标签: redis node-redis redis-sentinel


    【解决方案1】:

    SLAVEOF NO ONE 命令在发送到从属服务器时,将关闭复制。奴隶将成为主人。

    如果禁用复制,您可能也不需要 Redis Sentinel。

    【讨论】:

      猜你喜欢
      • 2022-12-16
      • 1970-01-01
      • 2021-01-13
      • 2017-08-23
      • 2017-12-10
      • 1970-01-01
      • 1970-01-01
      • 2018-02-04
      • 1970-01-01
      相关资源
      最近更新 更多