【 TiDB 使用环境】测试
【 TiDB 版本】v4.0.4
【复现路径】做过哪些操作出现的问题
在一个drainer内存不足的情况下,新扩容了一个drainer
【遇到的问题:问题现象及影响】
两个drainer目前启动正常,但是并不往kafka里面写消息,kafka的队列是存在的,并且其他队列收发消息正常,也并没有发现kafka报错消息过大
【资源配置】
【附件:截图/日志/监控】
新drainer启动日志
[2023/04/06 16:53:13.774 +08:00] [INFO] [version.go:50] ["Welcome to Drainer"] ["Release Version"=v4.0.3-dirty] ["Git Commit Hash"=fb0cc0d5290202bb6d1b6f189549f629cfd810ef] ["Build TS"="2021-10-21 02:40:08"] ["Go Version"=go1.15.6] ["Go OS/Arch"=linux/amd64]
[2023/04/06 16:53:13.774 +08:00] [INFO] [main.go:46] ["start drainer..."] [config="{\"log-level\":\"info\",\"node-id\":\"172.16.12.169:8249\",\"addr\":\"http://172.16.12.169:8249\",\"advertise-addr\":\"http://172.16.12.169:8249\",\"data-dir\":\"/alidata/tidb/deploy/data\",\"detect-interval\":5,\"pd-urls\":\"http://172.16.12.73:2379,http://172.16.12.75:2379,http://172.16.12.76:2379\",\"log-file\":\"/alidata/tidb/deploy/log/drainer.log\",\"initial-commit-ts\":0,\"sycner\":{\"sql-mode\":null,\"ignore-txn-commit-ts\":null,\"ignore-schemas\":\"INFORMATION_SCHEMA,METRICS_SCHEMA,PERFORMANCE_SCHEMA,aaa,aliprod119,bak_marketing_0925,dusto_job,goinception,mysql,stress_testing,test,test33,test55,thisaliprod,thisisuat,tidb_loader,txmanager,uat_databank,uat_goods,uat_grid,uat_info,uat_integration,uat_job,uat_marketing,uat_member,uat_message,uat_nacos,uat_order,uat_pay,uat_product,uat_report,uat_saga,uat_security,uat_stock,uat_support,uat_zipkin,pre_databank,pre_info,pre_job,pre_message,pre_nacos,pre_nacos113,pre_product,pre_report,pre_security,pre_support,dev_member,dev_databank,dev_message,dev_info,dev_order,dev_pay,dev_marketing,dev_report,dev_stock,dev_grid,dev_support,dev_security,dev_goods,dev_dusto_dmp,uat_dusto_dmp,pre_dusto_dmp,nacos_dusto_dmp,uat_plan\",\"ignore-table\":[{\"db-name\":\"test\",\"tbl-name\":\"test\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_comp_region_rel_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_category_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_color_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_price_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_size_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_sku_sap\"},{\"db-name\":\"pre_grid\",\"tbl-name\":\"buffer_clerk_sap\"},{\"db-name\":\"pre_grid\",\"tbl-name\":\"buffer_data_err\"},{\"db-name\":\"pre_grid\",\"tbl-name\":\"buffer_store_sap\"},{\"db-name\":\"pre_grid\",\"tbl-name\":\"bonus_rate_rule\"},{\"db-name\":\"pre_order\",\"tbl-name\":\"resend_sap_intf\"},{\"db-name\":\"pre_order\",\"tbl-name\":\"send_sap_intf\"},{\"db-name\":\"pre_order\",\"tbl-name\":\"order_pay_mode_bs\"},{\"db-name\":\"pre_order\",\"tbl-name\":\"order_sub_bs\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_inventory_order_detail_provisional\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_inventory_range\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_allocation\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_sap_inv_sync_detail\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_sap_inv_sync\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_shelf\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_stock_his\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_stock_history\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_warn_history\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_transfer_order\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_transfer_order_detail\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"qrtz_fired_triggers\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"sales_orders\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"stock_temp\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"storeinfo_temp\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"stores\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"t_post_id\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_inventory_order_detail_history\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_inventory_order_history\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"stock_store\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_0611\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_0618\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_2019017\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_bak_0918\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_temp20190515\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_temp20190521\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_transaction_detail_2019017\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_transaction_detail_bak_0918\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp201905_01\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp201905_old\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190521\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190522\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190528\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190529\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190529_01\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_201906011\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190603\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190618\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190624\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190625\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190627\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190701\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190708\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190722\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190729\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190805\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190812\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190820\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190826\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190827\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190912\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190925\"}],\"txn-batch\":20,\"loopback-control\":false,\"sync-ddl\":true,\"channel-id\":0,\"worker-count\":1,\"to\":{\"host\":\"\",\"user\":\"\",\"password\":\"\",\"security\":{\"ssl-ca\":\"\",\"ssl-cert\":\"\",\"ssl-key\":\"\",\"cert-allowed-cn\":null},\"encrypted_password\":\"\",\"sync-mode\":0,\"port\":0,\"checkpoint\":{\"type\":\"\",\"schema\":\"\",\"host\":\"\",\"user\":\"\",\"password\":\"\",\"encrypted_password\":\"\",\"port\":0,\"security\":{\"ssl-ca\":\"\",\"ssl-cert\":\"\",\"ssl-key\":\"\",\"cert-allowed-cn\":null}},\"dir\":\"\",\"retention-time\":0,\"merge\":false,\"zookeeper-addrs\":\"\",\"kafka-addrs\":\"172.16.16.221:9092,172.16.17.65:9092,172.16.18.27:9092\",\"kafka-version\":\"1.0.2\",\"kafka-max-messages\":1536,\"kafka-client-id\":\"\",\"kafka-max-message-size\":1610612736,\"topic-name\":\"tidb-binlog-pre\"},\"replicate-do-table\":null,\"replicate-do-db\":null,\"db-type\":\"kafka\",\"relay\":{\"log-dir\":\"\",\"max-file-size\":10485760},\"disable-dispatch-flag\":null,\"enable-dispatch-flag\":null,\"disable-dispatch\":null,\"enable-dispatch\":null,\"safe-mode\":false,\"disable-detect-flag\":null,\"enable-detect-flag\":null,\"disable-detect\":null,\"enable-detect\":null},\"security\":{\"ssl-ca\":\"\",\"ssl-cert\":\"\",\"ssl-key\":\"\",\"cert-allowed-cn\":null},\"synced-check-time\":5,\"compressor\":\"\",\"EtcdTimeout\":5000000000,\"MetricsAddr\":\"\",\"MetricsInterval\":15}"]
[2023/04/06 16:53:13.775 +08:00] [INFO] [client.go:135] ["[pd] create pd client with endpoints"] [pd-address="[http://172.16.12.73:2379,http://172.16.12.75:2379,http://172.16.12.76:2379]"]
[2023/04/06 16:53:13.778 +08:00] [INFO] [base_client.go:242] ["[pd] switch leader"] [new-leader=http://172.16.12.76:2379] [old-leader=]
[2023/04/06 16:53:13.778 +08:00] [INFO] [base_client.go:92] ["[pd] init cluster id"] [cluster-id=6667489703447796057]
[2023/04/06 16:53:13.778 +08:00] [INFO] [server.go:120] ["get cluster id from pd"] [id=6667489703447796057]
[2023/04/06 16:53:13.780 +08:00] [INFO] [checkpoint.go:64] ["initialize checkpoint"] [type=file] [checkpoint=440603977927622705] [cfg="{\"CheckpointType\":\"file\",\"Db\":null,\"Schema\":\"\",\"Table\":\"\",\"ClusterID\":6667489703447796057,\"InitialCommitTS\":0,\"dir\":\"/alidata/tidb/deploy/data/savepoint\"}"]
[2023/04/06 16:53:13.780 +08:00] [INFO] [store.go:68] ["new store"] [path="tikv://172.16.12.73:2379,172.16.12.75:2379,172.16.12.76:2379?disableGC=true"]
[2023/04/06 16:53:13.780 +08:00] [INFO] [client.go:135] ["[pd] create pd client with endpoints"] [pd-address="[172.16.12.73:2379,172.16.12.75:2379,172.16.12.76:2379]"]
[2023/04/06 16:53:13.782 +08:00] [INFO] [base_client.go:242] ["[pd] switch leader"] [new-leader=http://172.16.12.76:2379] [old-leader=]
[2023/04/06 16:53:13.782 +08:00] [INFO] [base_client.go:92] ["[pd] init cluster id"] [cluster-id=6667489703447796057]
[2023/04/06 16:53:13.783 +08:00] [INFO] [store.go:74] ["new store with retry success"]
[2023/04/06 16:53:26.021 +08:00] [INFO] [client.go:127] ["[sarama] Initializing new client"]
[2023/04/06 16:53:26.021 +08:00] [INFO] [client.go:174] ["[sarama] Successfully initialized new client"]
[2023/04/06 16:53:26.021 +08:00] [INFO] [store.go:68] ["new store"] [path="tikv://172.16.12.73:2379,172.16.12.75:2379,172.16.12.76:2379?disableGC=true"]
[2023/04/06 16:53:26.021 +08:00] [INFO] [client.go:135] ["[pd] create pd client with endpoints"] [pd-address="[172.16.12.73:2379,172.16.12.75:2379,172.16.12.76:2379]"]
[2023/04/06 16:53:26.024 +08:00] [INFO] [base_client.go:242] ["[pd] switch leader"] [new-leader=http://172.16.12.76:2379] [old-leader=]
[2023/04/06 16:53:26.024 +08:00] [INFO] [base_client.go:92] ["[pd] init cluster id"] [cluster-id=6667489703447796057]
[2023/04/06 16:53:26.025 +08:00] [INFO] [store.go:74] ["new store with retry success"]
[2023/04/06 16:53:26.028 +08:00] [INFO] [server.go:265] ["register success"] ["drainer node id"=172.16.12.169:8249]
[2023/04/06 16:53:26.029 +08:00] [INFO] [server.go:326] ["start to server request"] [addr=http://172.16.12.169:8249]
[2023/04/06 16:53:26.030 +08:00] [INFO] [merge.go:222] ["merger add source"] ["source id"=172.16.16.221:8250]
[2023/04/06 16:53:26.030 +08:00] [INFO] [merge.go:222] ["merger add source"] ["source id"=172.16.17.65:8250]
[2023/04/06 16:53:26.030 +08:00] [INFO] [merge.go:222] ["merger add source"] ["source id"=172.16.18.27:8250]
[2023/04/06 16:53:26.030 +08:00] [INFO] [pump.go:138] ["pump create pull binlogs client"] [id=172.16.16.221:8250]
[2023/04/06 16:53:26.030 +08:00] [INFO] [pump.go:138] ["pump create pull binlogs client"] [id=172.16.18.27:8250]
[2023/04/06 16:53:26.030 +08:00] [INFO] [pump.go:138] ["pump create pull binlogs client"] [id=172.16.17.65:8250]
[2023/04/06 16:53:29.544 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604087608672371]
[2023/04/06 16:53:32.547 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604088395104378]
[2023/04/06 16:53:35.650 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604089181536471]
[2023/04/06 17:03:26.021 +08:00] [INFO] [client.go:716] ["[sarama] Client background metadata update:kafka: no specific topics to update metadata"]
[2023/04/06 16:53:38.653 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604089967968464]
旧drainer启动日志
[2023/04/06 16:53:13.786 +08:00] [INFO] [version.go:50] ["Welcome to Drainer"] ["Release Version"=v4.0.3-dirty] ["Git Commit Hash"=fb0cc0d5290202bb6d1b6f189549f629cfd810ef] ["Build TS"="2021-10-21 02:40:08"] ["Go Version"=go1.15.6] ["Go OS/Arch"=linux/amd64]
[2023/04/06 16:53:13.786 +08:00] [INFO] [main.go:46] ["start drainer..."] [config="{\"log-level\":\"info\",\"node-id\":\"172.16.18.27:8249\",\"addr\":\"http://172.16.18.27:8249\",\"advertise-addr\":\"http://172.16.18.27:8249\",\"data-dir\":\"/alidata/tidb/deploy/drainer-8249/data\",\"detect-interval\":5,\"pd-urls\":\"http://172.16.12.73:2379,http://172.16.12.75:2379,http://172.16.12.76:2379\",\"log-file\":\"/alidata/tidb/deploy/drainer-8249/log/drainer.log\",\"initial-commit-ts\":-1,\"sycner\":{\"sql-mode\":null,\"ignore-txn-commit-ts\":null,\"ignore-schemas\":\"INFORMATION_SCHEMA,METRICS_SCHEMA,PERFORMANCE_SCHEMA,aaa,aliprod119,bak_marketing_0925,dusto_job,goinception,mysql,stress_testing,test,test33,test55,thisaliprod,thisisuat,tidb_loader,txmanager,uat_databank,uat_goods,uat_grid,uat_info,uat_integration,uat_job,uat_marketing,uat_member,uat_message,uat_nacos,uat_order,uat_pay,uat_product,uat_report,uat_saga,uat_security,uat_stock,uat_support,uat_zipkin,pre_databank,pre_info,pre_job,pre_message,pre_nacos,pre_nacos113,pre_product,pre_report,pre_security,pre_support,dev_member,dev_databank,dev_message,dev_info,dev_order,dev_pay,dev_marketing,dev_report,dev_stock,dev_grid,dev_support,dev_security,dev_goods,dev_dusto_dmp,uat_dusto_dmp,pre_dusto_dmp,nacos_dusto_dmp,uat_plan\",\"ignore-table\":[{\"db-name\":\"test\",\"tbl-name\":\"test\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_comp_region_rel_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_category_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_color_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_price_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_size_sap\"},{\"db-name\":\"pre_goods\",\"tbl-name\":\"buffer_product_sku_sap\"},{\"db-name\":\"pre_grid\",\"tbl-name\":\"buffer_clerk_sap\"},{\"db-name\":\"pre_grid\",\"tbl-name\":\"buffer_data_err\"},{\"db-name\":\"pre_grid\",\"tbl-name\":\"buffer_store_sap\"},{\"db-name\":\"pre_grid\",\"tbl-name\":\"bonus_rate_rule\"},{\"db-name\":\"pre_order\",\"tbl-name\":\"resend_sap_intf\"},{\"db-name\":\"pre_order\",\"tbl-name\":\"send_sap_intf\"},{\"db-name\":\"pre_order\",\"tbl-name\":\"order_pay_mode_bs\"},{\"db-name\":\"pre_order\",\"tbl-name\":\"order_sub_bs\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_inventory_order_detail_provisional\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_inventory_range\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_allocation\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_sap_inv_sync_detail\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_sap_inv_sync\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_shelf\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_stock_his\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_stock_history\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_sku_warn_history\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_transfer_order\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_transfer_order_detail\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"qrtz_fired_triggers\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"sales_orders\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"stock_temp\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"storeinfo_temp\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"stores\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"t_post_id\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_inventory_order_detail_history\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"kc_inventory_order_history\"},{\"db-name\":\"pre_stock\",\"tbl-name\":\"stock_store\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_0611\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_0618\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_2019017\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_bak_0918\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_temp20190515\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_common_account_temp20190521\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_transaction_detail_2019017\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"mb_points_transaction_detail_bak_0918\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp201905_01\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp201905_old\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190521\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190522\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190528\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190529\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190529_01\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_201906011\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190603\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190618\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190624\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190625\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190627\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190701\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190708\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190722\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190729\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190805\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190812\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190820\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190826\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190827\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190912\"},{\"db-name\":\"pre_member\",\"tbl-name\":\"member_info_temp_20190925\"}],\"txn-batch\":20,\"loopback-control\":false,\"sync-ddl\":true,\"channel-id\":0,\"worker-count\":1,\"to\":{\"host\":\"\",\"user\":\"\",\"password\":\"\",\"security\":{\"ssl-ca\":\"\",\"ssl-cert\":\"\",\"ssl-key\":\"\",\"cert-allowed-cn\":null},\"encrypted_password\":\"\",\"sync-mode\":0,\"port\":0,\"checkpoint\":{\"type\":\"\",\"schema\":\"\",\"host\":\"\",\"user\":\"\",\"password\":\"\",\"encrypted_password\":\"\",\"port\":0,\"security\":{\"ssl-ca\":\"\",\"ssl-cert\":\"\",\"ssl-key\":\"\",\"cert-allowed-cn\":null}},\"dir\":\"\",\"retention-time\":0,\"merge\":false,\"zookeeper-addrs\":\"\",\"kafka-addrs\":\"172.16.16.221:9092,172.16.17.65:9092,172.16.18.27:9092\",\"kafka-version\":\"1.0.2\",\"kafka-max-messages\":1536,\"kafka-client-id\":\"\",\"kafka-max-message-size\":1610612736,\"topic-name\":\"tidb-binlog-pre\"},\"replicate-do-table\":null,\"replicate-do-db\":null,\"db-type\":\"kafka\",\"relay\":{\"log-dir\":\"\",\"max-file-size\":10485760},\"disable-dispatch-flag\":null,\"enable-dispatch-flag\":null,\"disable-dispatch\":null,\"enable-dispatch\":null,\"safe-mode\":false,\"disable-detect-flag\":null,\"enable-detect-flag\":null,\"disable-detect\":null,\"enable-detect\":null},\"security\":{\"ssl-ca\":\"\",\"ssl-cert\":\"\",\"ssl-key\":\"\",\"cert-allowed-cn\":null},\"synced-check-time\":5,\"compressor\":\"\",\"EtcdTimeout\":5000000000,\"MetricsAddr\":\"\",\"MetricsInterval\":15}"]
[2023/04/06 16:53:13.786 +08:00] [INFO] [client.go:135] ["[pd] create pd client with endpoints"] [pd-address="[http://172.16.12.73:2379,http://172.16.12.75:2379,http://172.16.12.76:2379]"]
[2023/04/06 16:53:13.789 +08:00] [INFO] [base_client.go:242] ["[pd] switch leader"] [new-leader=http://172.16.12.76:2379] [old-leader=]
[2023/04/06 16:53:13.789 +08:00] [INFO] [base_client.go:92] ["[pd] init cluster id"] [cluster-id=6667489703447796057]
[2023/04/06 16:53:13.789 +08:00] [INFO] [server.go:120] ["get cluster id from pd"] [id=6667489703447796057]
[2023/04/06 16:53:13.790 +08:00] [INFO] [server.go:129] ["set InitialCommitTS"] [ts=440604083820691565]
[2023/04/06 16:53:13.790 +08:00] [INFO] [checkpoint.go:64] ["initialize checkpoint"] [type=file] [checkpoint=440602031873327109] [cfg="{\"CheckpointType\":\"file\",\"Db\":null,\"Schema\":\"\",\"Table\":\"\",\"ClusterID\":6667489703447796057,\"InitialCommitTS\":440604083820691565,\"dir\":\"/alidata/tidb/deploy/drainer-8249/data/savepoint\"}"]
[2023/04/06 16:53:13.790 +08:00] [INFO] [store.go:68] ["new store"] [path="tikv://172.16.12.73:2379,172.16.12.75:2379,172.16.12.76:2379?disableGC=true"]
[2023/04/06 16:53:13.791 +08:00] [INFO] [client.go:135] ["[pd] create pd client with endpoints"] [pd-address="[172.16.12.73:2379,172.16.12.75:2379,172.16.12.76:2379]"]
[2023/04/06 16:53:13.792 +08:00] [INFO] [base_client.go:242] ["[pd] switch leader"] [new-leader=http://172.16.12.76:2379] [old-leader=]
[2023/04/06 16:53:13.792 +08:00] [INFO] [base_client.go:92] ["[pd] init cluster id"] [cluster-id=6667489703447796057]
[2023/04/06 16:53:13.794 +08:00] [INFO] [store.go:74] ["new store with retry success"]
[2023/04/06 16:53:26.501 +08:00] [INFO] [client.go:127] ["[sarama] Initializing new client"]
[2023/04/06 16:53:26.501 +08:00] [INFO] [client.go:174] ["[sarama] Successfully initialized new client"]
[2023/04/06 16:53:26.502 +08:00] [INFO] [store.go:68] ["new store"] [path="tikv://172.16.12.73:2379,172.16.12.75:2379,172.16.12.76:2379?disableGC=true"]
[2023/04/06 16:53:26.502 +08:00] [INFO] [client.go:135] ["[pd] create pd client with endpoints"] [pd-address="[172.16.12.73:2379,172.16.12.75:2379,172.16.12.76:2379]"]
[2023/04/06 16:53:26.504 +08:00] [INFO] [base_client.go:242] ["[pd] switch leader"] [new-leader=http://172.16.12.76:2379] [old-leader=]
[2023/04/06 16:53:26.504 +08:00] [INFO] [base_client.go:92] ["[pd] init cluster id"] [cluster-id=6667489703447796057]
[2023/04/06 16:53:26.506 +08:00] [INFO] [store.go:74] ["new store with retry success"]
[2023/04/06 16:53:26.510 +08:00] [INFO] [server.go:265] ["register success"] ["drainer node id"=172.16.18.27:8249]
[2023/04/06 16:53:26.510 +08:00] [INFO] [server.go:326] ["start to server request"] [addr=http://172.16.18.27:8249]
[2023/04/06 16:53:26.511 +08:00] [INFO] [merge.go:222] ["merger add source"] ["source id"=172.16.17.65:8250]
[2023/04/06 16:53:26.511 +08:00] [INFO] [merge.go:222] ["merger add source"] ["source id"=172.16.18.27:8250]
[2023/04/06 16:53:26.511 +08:00] [INFO] [merge.go:222] ["merger add source"] ["source id"=172.16.16.221:8250]
[2023/04/06 16:53:26.511 +08:00] [INFO] [pump.go:138] ["pump create pull binlogs client"] [id=172.16.16.221:8250]
[2023/04/06 16:53:26.511 +08:00] [INFO] [pump.go:138] ["pump create pull binlogs client"] [id=172.16.17.65:8250]
[2023/04/06 16:53:26.511 +08:00] [INFO] [pump.go:138] ["pump create pull binlogs client"] [id=172.16.18.27:8250]
[2023/04/06 16:53:29.538 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604087608672371]
[2023/04/06 16:53:32.541 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604088395104378]
[2023/04/06 16:53:35.645 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604089181536471]
[2023/04/06 16:53:38.649 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604089967968464]
[2023/04/06 17:03:26.502 +08:00] [INFO] [client.go:716] ["[sarama] Client background metadata update:kafka: no specific topics to update metadata"]
[2023/04/06 17:03:28.223 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604244462534658]
[2023/04/06 17:03:31.227 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604245248966660]
[2023/04/06 17:03:34.231 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604246035398661]
[2023/04/06 17:09:26.523 +08:00] [WARN] [base_client.go:184] ["[pd] cannot update leader"] [address=http://172.16.12.73:2379] [error="error:rpc error: code = Unavailable desc = transport is closing target:172.16.12.73:2379 status:CONNECTING"] [errorVerbose="error:rpc error: code = Unavailable desc = transport is closing target:172.16.12.73:2379 status:CONNECTING\ngithub.com/pingcap/pd/v4/client.(*baseClient).getMembers\n\t/Users/weizheng/go/pkg/mod/github.com/pingcap/pd/v4@v4.0.0-beta.1.0.20200305072537-61d9f9cc35d3/client/base_client.go:208\ngithub.com/pingcap/pd/v4/client.(*baseClient).updateLeader\n\t/Users/weizheng/go/pkg/mod/github.com/pingcap/pd/v4@v4.0.0-beta.1.0.20200305072537-61d9f9cc35d3/client/base_client.go:182\ngithub.com/pingcap/pd/v4/client.(*baseClient).leaderLoop\n\t/Users/weizheng/go/pkg/mod/github.com/pingcap/pd/v4@v4.0.0-beta.1.0.20200305072537-61d9f9cc35d3/client/base_client.go:129\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1374\ngithub.com/pingcap/pd/v4/client.(*baseClient).getMembers\n\t/Users/weizheng/go/pkg/mod/github.com/pingcap/pd/v4@v4.0.0-beta.1.0.20200305072537-61d9f9cc35d3/client/base_client.go:209\ngithub.com/pingcap/pd/v4/client.(*baseClient).updateLeader\n\t/Users/weizheng/go/pkg/mod/github.com/pingcap/pd/v4@v4.0.0-beta.1.0.20200305072537-61d9f9cc35d3/client/base_client.go:182\ngithub.com/pingcap/pd/v4/client.(*baseClient).leaderLoop\n\t/Users/weizheng/go/pkg/mod/github.com/pingcap/pd/v4@v4.0.0-beta.1.0.20200305072537-61d9f9cc35d3/client/base_client.go:129\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1374"]
[2023/04/06 17:09:29.522 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604339083411493]
[2023/04/06 17:09:32.526 +08:00] [INFO] [syncer.go:257] ["write save point"] [ts=440604339869843531]