提交 c061b02e 编写于 作者: S star

Merge branch 'master' of codechina.csdn.net:weixin_41817826/SR-Notes

......@@ -9,9 +9,9 @@
 
| 计算机基础 | 网络 | Linux | Java |   数据库 | 中间件 | 编码实践 | Python | 软件架构 | 软件安装 | 后记 |
| 计算机基础 | 网络 | Linux | Java | 数据库 | 中间件 | 编码实践 | Python | 系统架构 | 软件安装 | 后记 |
| :--------------------------------: | :--------------------------: | :-----------------------------: | :--------------------------: | :----------------------------------: | :------------------------: | :----------------------: | :----------------------------------: | :--------------------------: | :------------------------------: | :----------------------------: |
| [:computer:](#computer-计算机基础) | [:cloud:](#cloud-计算机网络) | [:penguin:](#penguin-Linux系统) | [:coffee:](#coffee-Java语言) | [:floppy_disk:](#floppy_disk-数据库) | [:rocket:](#rocket-中间件) | [:bulb:](#bulb-编码实践) | [:bar_chart:](#bar_chart-Python语言) | [:hammer:](#hammer-软件架构) | [:airplane:](#airplane-软件安装) | [:black_nib:](#black_nib-后记) |
| [:computer:](#computer-计算机基础) | [:cloud:](#cloud-计算机网络) | [:penguin:](#penguin-linux系统) | [:coffee:](#coffee-java语言) | [:floppy_disk:](#floppy_disk-数据库) | [:rocket:](#rocket-中间件) | [:bulb:](#bulb-编码实践) | [:bar_chart:](#bar_chart-python语言) | [:hammer:](#hammer-系统架构) | [:airplane:](#airplane-软件安装) | [:black_nib:](#black_nib-后记) |
  
......@@ -202,7 +202,7 @@
笔记内容参考 [中文文案排版指北](https://github.com/sparanoid/chinese-copywriting-guidelines/blob/master/README.zh-CN.md) 进行排版,以保证内容的可读性。
笔记灵感参考自 GitHub 项目:[CS-Notes](https://github.com/CyC2018/CS-Notes)
笔记参考自 GitHub 项目:[CS-Notes](https://github.com/CyC2018/CS-Notes)
在线排版工具:[Text-Typesetting](https://github.com/CyC2018/Text-Typesetting)
......
......@@ -1892,7 +1892,7 @@ Redis 哨兵的作用:
sentinel parallel-syncs mymaster 1
~~~
在故障转移中,最多可以有多少个 slave 同时对新的 master 进行同步,进行同步的 slave 因为主从复制将无法提供查询服务。此值设置的越小,故障转移所花费的时间越长;此值设置的越大,故障转移期间能够提供查询服务的从技术量越少。
在故障转移中,最多可以有多少个 slave 同时对新的 master 进行同步,进行同步的 slave 因为主从复制将无法提供查询服务。此值设置的越小,故障转移所花费的时间越长;此值设置的越大,故障转移期间能够提供查询服务的从机数量越少。
- 故障转移超时时间:`sentinel failover-timeout <master-name> <milliseconds>`
......@@ -1914,7 +1914,7 @@ Redis 哨兵的作用:
~~~bash
sentinel notification-script mymaster /var/redis/notify.sh #通知脚本
sentinel client-reconfig-script mymaster /var/redis/reconfig.sh #重新配置脚本
#不允许使用 SENTINEL SET 命令更改 notification-script 和 client-reconfig-script
#不允许使用 SENTINEL SET 命令更改 notification-script 和 client-reconfig-script 配置
sentinel deny-scripts-reconfig yes
~~~
......@@ -1955,7 +1955,7 @@ Redis 哨兵的作用:
哨兵集群搭建:
1. ss
1.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册