Skip to content

Commit f735a2b

Browse files
authored
Merge pull request #33 from HuaHero/HuaHero-patch-31
Update Redis.md
2 parents c516587 + 370acae commit f735a2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notes/Redis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@ def main():
553553
## 十二、Sentinel
554554

555555
Sentinel(哨兵)可以监听集群中的服务器,并在主服务器进入下线状态时,自动从从服务器中选举出新的主服务器。
556-
**监控(Monitoring)** 不间断检测Redis的运行状态
557-
**提醒(Notification** 当监控的Redis出现问题时,通过API向管理员或者其他应用程序 发送通知
556+
**监控(Monitoring)** 不间断检测Redis的运行状态.
557+
**提醒(Notification** 当监控的Redis出现问题时,通过API向管理员或者其他应用程序 发送通知.
558558
**自动故障迁移(Automatic failover** 当一个主服务器不能正常工作时, Sentinel 会开始一次自动故障迁移操作, 它会将失效主服务器的其中一个从服务器升级为新的主服务器, 并让失效主服务器的其他从服务器改为复制新的主服务器; 当客户端试图连接失效的主服务器时, 集群也会向客户端返回新主服务器的地址, 使得集群可以使用新主服务器代替失效服务器。
559559
**协议** 流言协议(gossip protocols)来接收关于主服务器是否下线的信息, 并使用投票协议(agreement protocols)来决定是否执行自动故障迁移 。
560560
Redis主从复制 搭建

0 commit comments

Comments
 (0)