垃圾规范
https://blog.csdn.net/android_huber/article/details/7371941这种规则也太垃圾了吧
莫名其妙的混用错误
release版本与debug版本混用,可能会导致程序莫名其妙的错误。在测试中MGR的plugin使用debug版本,其他部分是release编译,这样无法启动MGR,并导致系统crash
一个导致MGR数据混乱Bug的分析和修复
1、背景MGR是个好东西,因为他从本质上解决了数据不一致的问题。不光是解决了问题,而且出自名门正派(Oracle的MySQL团队),对品质和后续的维护,我们是可以期待的。但是在调研的过程中,发现有个严重的bug(https://bugs.mysql.com/bug.php?id=92690),在网络
gh-ost的延迟控制机制
root@sbtest04:46:19>select*from_yougege_ghclimit10\G***************************1.row***************************id:1last_update:2019-02-1316:46:38hi
MGR的debug版本
debug版本的MGR相较于非debug版本,applier性能差距有40倍之多。
c语言版本的coroutine
#include<stdio.h>intfunction(void){staticinti,state=0;switch(state){case0:gotoLABEL0;case1:gotoLABEL1;}LABEL0:/*startoffunction*/for(i=0;i<10
检查数据不一致脚本
importMySQLdbmax_id=250000sql_prefix="selectcrc32(group_concat(concat(id,k,c,pad)))fromsbtest1whereid>=%sandid<%s"xhdb1=MySQLdb.connect(host="*"