Clickhouse RepicateMergeTree Merge 副本协同流程
2021-06-29 16:12:44 0 举报
Clickhouse RepicateMergeTree Merge 副本协同流程
作者其他创作
大纲/内容
1、监听到新的操作日志,/log/log-00000000022、拉起日志对象Entry3、创建task任务,并放入执行队列/replicas/chuanmei-backup1.jd.163.org/queue/4、基于/queue/队列,执行任务
Optimize Table
distribute log
response log
rename
tmp_merge 202106_0_1_1
202106_0_0_0
1、由主副本负责定制Merge计划2、推送操作日志:/log/log-0000000002Entry对象:Source replica:chuanmei-backup1.jd.163.orgblock_id:空type:mergecommands:202106_0_0_0202106_1_1_0into202106_0_1_1
replicate_tb_1
202106_1_1_0
merge
CK_Node2
Establish Connection
1、响应/queue任务2、本地Merge分区
创建远程连接Connected Clickhouse Follower replica
Local Merge
202106_0_1_1
Zookeeper
CK_Node1
创建远程连接,链接至副本Connection (chuanmei-backup1.jd.163.org:9848)
1、监听到新的操作日志,/log/log-00000000022、拉起日志对象Entry3、创建task任务,并放入执行队列/replicas/chuanmei-backup2.jd.163.org/queue/4、基于/queue/队列,执行任务
0 条评论
下一页