1.是什么? 就是主从复制,主机数据更新后根据配置和策略自动同步到备机的master/slave机制,Master以写为主,Slave以读为主 2.能干嘛? ? 读写分离:只有主机可以进行写操作,从机不能进行写操作(从机如果执行写操作压根就写不进去) ? 容灾恢复 3.怎么玩 ? 配从(库)不配主( ...
分类:
其他好文 时间:
2020-03-23 16:40:45
阅读次数:
56
Git does not apply deleted files when merging an old branch into the master. How can I tell Git to apply deleted files? The only way I can fathom this ...
分类:
移动开发 时间:
2020-03-23 16:40:27
阅读次数:
82
--恢复镜像 USE master; ALTER DATABASE dnt31 SET PARTNER RESUME --切换主备 USE master; ALTER DATABASE BLMS_WX SET PARTNER FAILOVER 暂停数据库镜像会话 ALTER DATABASE dnt ...
分类:
数据库 时间:
2020-03-23 15:07:49
阅读次数:
78
1 /* 2 gotips_test.go: 3 Golang速学速查速用代码手册 4 5 Source: github.com/coderzh/CodeTips/blob/master/gotips_test.go 6 7 Author: coderzh(github.com/coderzh) 8 ...
分类:
其他好文 时间:
2020-03-23 09:21:11
阅读次数:
69
一、概念 Zookeeper 是 一个典型的分布式数据一致性的解决方案. 1、zookeeper有两种运行模式: 集群模式和单机模式,还有一种伪集群模式,在单机模式下模拟集群的zookeeper服务 2、Zookeeper的典型应用场景: 数据发布/订阅 负载均衡 命名服务 分布式协调/通知 集群管 ...
分类:
其他好文 时间:
2020-03-22 22:32:13
阅读次数:
84
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. ...
分类:
其他好文 时间:
2020-03-22 19:57:31
阅读次数:
68
1 故障 [root@master ~]# hostnamectl set-hostname --static master.host.com [root@master ~]# exec -l bash [root@master ~]# [root@master ~]# exec -l bash [ ...
分类:
其他好文 时间:
2020-03-22 18:00:13
阅读次数:
218
BizCharts 双坐标轴: https://github.com/alibaba/BizCharts/blob/master/doc/api/facet.md https://g2plot.antv.vision/zh/docs/manual/advanced/overlapped-combo- ...
分类:
其他好文 时间:
2020-03-22 17:57:41
阅读次数:
344
问题:使用pynlpir分词,遇到License过期问题 抛出异常:pynlpir.LicenseError: Your license appears to have expired. Try running "pynlpir update". 解决方法:下载下面链接文件,替换原有的NLPIR.u ...
分类:
其他好文 时间:
2020-03-22 16:07:20
阅读次数:
232
一、K8S部署多master的集群 前一个月用K8S部署了一个多master的集群,其中的困难,比想象中多太多。大概花了一个月的时间,从0开始,到集群搭建完成。 后面应该会写一个帖子,这里就不做介绍了。 二、学习的一些经验总结。 4.22 搭建多master结点的集群总结: 1.kubectl ge ...
分类:
其他好文 时间:
2020-03-22 16:02:54
阅读次数:
53