1、重构代码,改用quartz做线程调度,实现HA

2、多个库的 向同一个库的表 同步数据 在同一个线程执行,保证不会造成死锁的情况,同时不会因为一个表同步事件过长而影响同一个库的其它表同步
3、部分特殊表通过 拦截器的方式 实现同步,如detection_set_info,meta_data。拦截器信息已配置到
table_sync_info 表中
4、重新整理nms 分库与主库 初始化语句及 同步配置表,初始化时
node_table.sync_status,event_record_library.db_id 的默认值需要修改为所在库的
id,id保存在sync_db_info 中,确保所有同步库 sync_db_info 表信息一致
This commit is contained in:
fangshunjian
2019-01-12 22:21:30 +06:00
parent af4f0910ba
commit c88b984af2
30 changed files with 17209 additions and 33 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.