摘要: 1.分布式事务和CAP定理 2.分布式算法:Paxos算法,raft算法 a).一致性目标Consensus 为什么要做到一致性,运用哪些手段做到一致性目标? 阅读全文
posted @ 2020-06-09 14:49 繁星中的点点星光 阅读(102) 评论(0) 推荐(0)
摘要: syntax error near unexpected token `fi',:我们需要把格式改为unix,方法是打开文件,输入":set ff=unix",也可以输入":set fileformat=unix" 阅读全文
posted @ 2020-06-09 14:45 繁星中的点点星光 阅读(243) 评论(0) 推荐(0)
摘要: 【搜索常用】: ctrl+f:当前打开的文件内搜索 ctrl+shift+f:指定类型搜索 ctrl+shift+r:搜索并替换 【打开常用】: ctrl+n:打开文件 ctrl+b:打开实现类 阅读全文
posted @ 2020-06-09 10:25 繁星中的点点星光 阅读(134) 评论(0) 推荐(0)
摘要: ALTER TABLE table_name CHANGE COLUMN column_name_old column_name_new 类型 COMMENT '描述信息' DEFAULT '默认值'; alter table 表名 modify column 列名 新的列的类型; 阅读全文
posted @ 2017-05-08 18:46 繁星中的点点星光 阅读(118) 评论(0) 推荐(0)
摘要: .查看数据库编码命令: show variables like 'character_set_database'; .查看数据表的编码命令: show create table table_name; 阅读全文
posted @ 2017-05-04 20:24 繁星中的点点星光 阅读(111) 评论(0) 推荐(0)
摘要: .window-->preferences-->team-->Ignored Resource-->Add Pattern-->输入 */target/*-->ok,再次同步可见traget下所有文件已不在。 .若是想去掉.classes或者是.project ,上面最后一步输入 .classes, 阅读全文
posted @ 2017-04-10 17:30 繁星中的点点星光 阅读(146) 评论(0) 推荐(0)
摘要: 2016.11.30 1).About the Java Technology 2).The Java Language Environment: Contents 阅读全文
posted @ 2016-11-30 10:53 繁星中的点点星光 阅读(66) 评论(0) 推荐(0)
摘要: linux下 hook的触发,需要 发送信号为15. 后续补充具体内容。 阅读全文
posted @ 2016-09-28 14:49 繁星中的点点星光 阅读(177) 评论(0) 推荐(0)
摘要: 第一步:lsof -i:端口号 第二步:根据显示的pid号,查询对应应用程序. ps -ef | grep pid (这里的pid是:23466) 阅读全文
posted @ 2016-09-28 14:48 繁星中的点点星光 阅读(162) 评论(0) 推荐(0)
摘要: 时间过的真快,再次打开博客园,竟然都是四年后了。 四年...... 以后要经常补充了。 加油。 阅读全文
posted @ 2016-09-27 16:46 繁星中的点点星光 阅读(103) 评论(0) 推荐(0)