├── .codecov.yml ├── .dockerignore ├── .editorconfig ├── .github ├── ISSUE_TEMPLATE │ ├── dm-bug-report.yml │ ├── engine-bug-report.yml │ ├── feature-request.yml │ ├── flaking-test.yml │ ├── question.yml │ └── ticdc-bug-report.yml ├── dependabot.yml ├── pull_request_template.md └── workflows │ ├── assign_bugs_questions_project.yaml │ ├── dataflow_engine_chaos.yaml │ ├── dm_binlog_999999.yaml │ ├── dm_chaos.yaml │ ├── dm_mariadb_master_down_and_up.yaml │ ├── dm_ui_lint.yaml │ ├── dm_upstream_switch.yaml │ ├── docs_lint.yaml │ └── upgrade_dm_via_tiup.yaml ├── .gitignore ├── .golangci.yml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── Makefile.engine ├── OWNERS ├── OWNERS_ALIASES ├── README.md ├── README_DM.md ├── README_Engine.md ├── README_TiCDC.md ├── SECURITY.md ├── cdc ├── api │ ├── main_test.go │ ├── middleware │ │ ├── middleware.go │ │ └── middleware_test.go │ ├── owner │ │ ├── main_test.go │ │ ├── owner.go │ │ └── owner_test.go │ ├── status │ │ └── status.go │ ├── util.go │ ├── util_test.go │ ├── v1 │ │ ├── api.go │ │ ├── api_test.go │ │ ├── main_test.go │ │ ├── validator.go │ │ └── validator_test.go │ └── v2 │ │ ├── OWNERS │ │ ├── api.go │ │ ├── api_helpers.go │ │ ├── api_helpers_mock.go │ │ ├── api_helpers_test.go │ │ ├── api_test.go │ │ ├── capture.go │ │ ├── capture_test.go │ │ ├── changefeed.go │ │ ├── changefeed_test.go │ │ ├── health.go │ │ ├── health_test.go │ │ ├── log.go │ │ ├── log_test.go │ │ ├── model.go │ │ ├── model_test.go │ │ ├── owner.go │ │ ├── owner_test.go │ │ ├── processor.go │ │ ├── processor_test.go │ │ ├── status.go │ │ ├── status_test.go │ │ ├── tso.go │ │ ├── tso_test.go │ │ ├── unsafe.go │ │ └── unsafe_test.go ├── async │ ├── async_initializer.go │ └── async_initializer_test.go ├── capture │ ├── capture.go │ ├── capture_test.go │ ├── election.go │ ├── main_test.go │ └── mock │ │ └── capture_mock.go ├── doc.go ├── entry │ ├── codec.go │ ├── codec_test.go │ ├── main_test.go │ ├── metrics.go │ ├── mounter.go │ ├── mounter_group.go │ ├── mounter_test.go │ ├── schema │ │ ├── snapshot.go │ │ └── snapshot_test.go │ ├── schema_storage.go │ ├── schema_storage_test.go │ ├── schema_test.go │ ├── schema_test_helper.go │ └── validator.go ├── http.go ├── http_test.go ├── kv │ ├── client_mock_test.go │ ├── main_test.go │ ├── matcher.go │ ├── matcher_test.go │ ├── metrics.go │ ├── region_state.go │ ├── regionlock │ │ ├── range_ts_map.go │ │ ├── range_ts_map_test.go │ │ ├── region_range_lock.go │ │ ├── region_range_lock_test.go │ │ ├── utils.go │ │ └── utils_test.go │ ├── shared_client.go │ ├── shared_client_test.go │ ├── shared_region_worker.go │ ├── shared_region_worker_test.go │ ├── shared_stream.go │ ├── sharedconn │ │ ├── conn_and_client.go │ │ ├── conn_and_client_test.go │ │ └── main_test.go │ └── utils.go ├── metrics │ ├── metrics.go │ └── metrics_test.go ├── model │ ├── capture.go │ ├── capture_test.go │ ├── changefeed.go │ ├── changefeed_test.go │ ├── codec │ │ ├── codec.go │ │ ├── codec_test.go │ │ └── v1 │ │ │ ├── codec.go │ │ │ ├── codec_gen.go │ │ │ ├── codec_gen_test.go │ │ │ ├── convert.go │ │ │ └── convert_test.go │ ├── errors.go │ ├── errors_test.go │ ├── http_model.go │ ├── http_model_test.go │ ├── kv.go │ ├── kv_gen.go │ ├── kv_gen_test.go │ ├── kv_test.go │ ├── main_test.go │ ├── mounter.go │ ├── mounter_test.go │ ├── owner.go │ ├── owner_test.go │ ├── schema_storage.go │ ├── schema_storage_test.go │ ├── sink.go │ ├── sink_gen.go │ ├── sink_gen_test.go │ ├── sink_test.go │ ├── upstream.go │ └── upstream_test.go ├── owner │ ├── barrier.go │ ├── barrier_test.go │ ├── changefeed.go │ ├── changefeed_test.go │ ├── ddl_manager.go │ ├── ddl_manager_test.go │ ├── ddl_sink.go │ ├── ddl_sink_test.go │ ├── feed_state.go │ ├── feed_state_manager.go │ ├── feed_state_manager_test.go │ ├── main_test.go │ ├── metrics.go │ ├── mock │ │ ├── owner_mock.go │ │ └── status_provider_mock.go │ ├── owner.go │ ├── owner_test.go │ └── status_provider.go ├── processor │ ├── main_test.go │ ├── manager.go │ ├── manager_test.go │ ├── memquota │ │ ├── mem_quota.go │ │ ├── mem_quota_test.go │ │ └── metrics.go │ ├── metrics.go │ ├── mock │ │ └── manager_mock.go │ ├── processor.go │ ├── processor_test.go │ ├── sinkmanager │ │ ├── main_test.go │ │ ├── manager.go │ │ ├── manager_test.go │ │ ├── manager_test_helper.go │ │ ├── metrics.go │ │ ├── redo_log_advancer.go │ │ ├── redo_log_advancer_test.go │ │ ├── redo_log_worker.go │ │ ├── redo_log_worker_test.go │ │ ├── table_progress_heap.go │ │ ├── table_progress_heap_test.go │ │ ├── table_sink_advancer.go │ │ ├── table_sink_advancer_test.go │ │ ├── table_sink_worker.go │ │ ├── table_sink_worker_test.go │ │ ├── table_sink_wrapper.go │ │ ├── table_sink_wrapper_test.go │ │ ├── tasks.go │ │ └── tasks_test.go │ ├── sourcemanager │ │ ├── manager.go │ │ └── sorter │ │ │ ├── engine.go │ │ │ ├── factory │ │ │ ├── factory.go │ │ │ └── pebble.go │ │ │ ├── memory │ │ │ ├── doc.go │ │ │ ├── event_sorter.go │ │ │ ├── event_sorter_test.go │ │ │ └── main_test.go │ │ │ ├── metrics.go │ │ │ ├── mock │ │ │ └── engine_mock.go │ │ │ ├── mounted_iter.go │ │ │ ├── mounted_iter_test.go │ │ │ └── pebble │ │ │ ├── db.go │ │ │ ├── db_test.go │ │ │ ├── doc.go │ │ │ ├── encoding │ │ │ ├── key.go │ │ │ ├── key_test.go │ │ │ └── value.go │ │ │ ├── event_sorter.go │ │ │ └── event_sorter_test.go │ └── tablepb │ │ ├── table.go │ │ ├── table.pb.go │ │ ├── table.proto │ │ └── table_test.go ├── puller │ ├── ddl_puller.go │ ├── ddl_puller_test.go │ ├── frontier │ │ ├── frontier.go │ │ ├── frontier_bench_test.go │ │ ├── frontier_test.go │ │ ├── heap.go │ │ ├── heap_test.go │ │ ├── list.go │ │ ├── list_test.go │ │ └── main_test.go │ ├── main_test.go │ ├── memorysorter │ │ ├── doc.go │ │ ├── entry_sorter.go │ │ ├── entry_sorter_test.go │ │ ├── main_test.go │ │ └── metrics.go │ ├── metrics.go │ ├── multiplexing_puller.go │ └── multiplexing_puller_test.go ├── redo │ ├── common │ │ ├── main_test.go │ │ ├── metric.go │ │ ├── redo_meta.go │ │ ├── redo_meta_gen.go │ │ ├── redo_meta_gen_test.go │ │ ├── util.go │ │ └── util_test.go │ ├── doc.go │ ├── main_test.go │ ├── manager.go │ ├── manager_test.go │ ├── meta_manager.go │ ├── meta_manager_test.go │ ├── reader │ │ ├── blackhole_reader.go │ │ ├── file.go │ │ ├── file_test.go │ │ ├── main_test.go │ │ ├── reader.go │ │ └── reader_test.go │ └── writer │ │ ├── blackhole │ │ └── blackhole_log_writer.go │ │ ├── factory │ │ └── factory.go │ │ ├── file │ │ ├── file.go │ │ ├── file_log_writer.go │ │ ├── file_log_writer_test.go │ │ ├── file_test.go │ │ ├── main_test.go │ │ └── mock_fileWriter.go │ │ ├── memory │ │ ├── encoding_worker.go │ │ ├── file_worker.go │ │ ├── main_test.go │ │ ├── mem_log_writer.go │ │ └── mem_log_writer_test.go │ │ └── writer.go ├── scheduler │ ├── internal │ │ ├── agent.go │ │ ├── info_provider.go │ │ ├── scheduler.go │ │ ├── table_executor.go │ │ └── v3 │ │ │ ├── agent │ │ │ ├── agent.go │ │ │ ├── agent_bench_test.go │ │ │ ├── agent_test.go │ │ │ ├── table.go │ │ │ └── table_test.go │ │ │ ├── compat │ │ │ ├── compat.go │ │ │ └── compat_test.go │ │ │ ├── coordinator.go │ │ │ ├── coordinator_bench_test.go │ │ │ ├── coordinator_test.go │ │ │ ├── info_provider.go │ │ │ ├── info_provider_test.go │ │ │ ├── keyspan │ │ │ ├── mock.go │ │ │ ├── reconciler.go │ │ │ ├── reconciler_test.go │ │ │ ├── splitter_region_count.go │ │ │ ├── splitter_region_count_test.go │ │ │ ├── splitter_write.go │ │ │ └── splitter_write_test.go │ │ │ ├── member │ │ │ ├── capture_manager.go │ │ │ ├── capture_manager_test.go │ │ │ └── metrics.go │ │ │ ├── metrics.go │ │ │ ├── replication │ │ │ ├── metrics.go │ │ │ ├── replication_manager.go │ │ │ ├── replication_manager_test.go │ │ │ ├── replication_set.go │ │ │ └── replication_set_test.go │ │ │ ├── scheduler │ │ │ ├── metrics.go │ │ │ ├── scheduler.go │ │ │ ├── scheduler_balance.go │ │ │ ├── scheduler_balance_test.go │ │ │ ├── scheduler_basic.go │ │ │ ├── scheduler_basic_test.go │ │ │ ├── scheduler_drain_capture.go │ │ │ ├── scheduler_drain_capture_test.go │ │ │ ├── scheduler_manager.go │ │ │ ├── scheduler_manager_test.go │ │ │ ├── scheduler_move_table.go │ │ │ ├── scheduler_move_table_test.go │ │ │ ├── scheduler_rebalance.go │ │ │ └── scheduler_rebalance_test.go │ │ │ └── transport │ │ │ ├── mock.go │ │ │ ├── transport.go │ │ │ └── transport_test.go │ ├── rexport.go │ └── schedulepb │ │ ├── barrier.go │ │ ├── table_schedule.pb.go │ │ ├── table_schedule.proto │ │ ├── table_schedule_manual_test.go │ │ └── watermark.go ├── server │ ├── metrics.go │ ├── metrics_server.go │ ├── server.go │ └── server_test.go ├── sink │ ├── ddlsink │ │ ├── blackhole │ │ │ └── black_hole_ddl_sink.go │ │ ├── cloudstorage │ │ │ ├── cloud_storage_ddl_sink.go │ │ │ ├── cloud_storage_ddl_sink_test.go │ │ │ └── main_test.go │ │ ├── ddl_sink.go │ │ ├── factory │ │ │ └── factory.go │ │ ├── mq │ │ │ ├── ddlproducer │ │ │ │ ├── ddl_producer.go │ │ │ │ ├── kafka_ddl_mock_producer.go │ │ │ │ ├── kafka_ddl_producer.go │ │ │ │ ├── kafka_ddl_producer_test.go │ │ │ │ ├── main_test.go │ │ │ │ ├── pulsar_ddl_mock_producer.go │ │ │ │ ├── pulsar_ddl_producer.go │ │ │ │ └── pulsar_ddl_producer_test.go │ │ │ ├── kafka_ddl_sink.go │ │ │ ├── main_test.go │ │ │ ├── mq_ddl_sink.go │ │ │ ├── mq_ddl_sink_test.go │ │ │ ├── pulsar_ddl_sink.go │ │ │ └── pulsar_ddl_sink_test.go │ │ └── mysql │ │ │ ├── async_ddl.go │ │ │ ├── async_ddl_test.go │ │ │ ├── format_ddl.go │ │ │ ├── format_ddl_test.go │ │ │ ├── main_test.go │ │ │ ├── mysql_ddl_sink.go │ │ │ └── mysql_ddl_sink_test.go │ ├── dmlsink │ │ ├── blackhole │ │ │ ├── black_hole_dml_sink.go │ │ │ ├── black_hole_dml_sink_test.go │ │ │ └── main_test.go │ │ ├── cloudstorage │ │ │ ├── cloud_storage_dml_sink.go │ │ │ ├── cloud_storage_dml_sink_test.go │ │ │ ├── defragmenter.go │ │ │ ├── defragmenter_test.go │ │ │ ├── dml_worker.go │ │ │ ├── dml_worker_test.go │ │ │ ├── encoding_worker.go │ │ │ ├── encoding_worker_test.go │ │ │ └── main_test.go │ │ ├── event.go │ │ ├── event_appender.go │ │ ├── event_appender_test.go │ │ ├── event_sink.go │ │ ├── factory │ │ │ ├── factory.go │ │ │ ├── factory_test.go │ │ │ └── main_test.go │ │ ├── main_test.go │ │ ├── mq │ │ │ ├── dispatcher │ │ │ │ ├── event_router.go │ │ │ │ ├── event_router_test.go │ │ │ │ ├── main_test.go │ │ │ │ ├── partition │ │ │ │ │ ├── columns.go │ │ │ │ │ ├── columns_test.go │ │ │ │ │ ├── default.go │ │ │ │ │ ├── default_test.go │ │ │ │ │ ├── dispatcher.go │ │ │ │ │ ├── index_value.go │ │ │ │ │ ├── index_value_test.go │ │ │ │ │ ├── key.go │ │ │ │ │ ├── key_test.go │ │ │ │ │ ├── main_test.go │ │ │ │ │ ├── table.go │ │ │ │ │ ├── table_test.go │ │ │ │ │ ├── ts.go │ │ │ │ │ └── ts_test.go │ │ │ │ └── topic │ │ │ │ │ ├── dispatcher.go │ │ │ │ │ ├── dispatcher_test.go │ │ │ │ │ ├── expression.go │ │ │ │ │ ├── expression_pulsar_test.go │ │ │ │ │ ├── expression_test.go │ │ │ │ │ └── main_test.go │ │ │ ├── dmlproducer │ │ │ │ ├── dml_producer.go │ │ │ │ ├── kafka_dml_mock_producer.go │ │ │ │ ├── kafka_dml_producer.go │ │ │ │ ├── kafka_dml_producer_test.go │ │ │ │ ├── main_test.go │ │ │ │ ├── pulsar_dml_mock_producer.go │ │ │ │ ├── pulsar_dml_producer.go │ │ │ │ └── pulsar_dml_producer_test.go │ │ │ ├── kafka_dml_sink.go │ │ │ ├── main_test.go │ │ │ ├── manager │ │ │ │ ├── kafka_manager.go │ │ │ │ ├── kafka_manager_test.go │ │ │ │ ├── main_test.go │ │ │ │ ├── manager.go │ │ │ │ ├── pulsar_manager.go │ │ │ │ ├── pulsar_manager_mock.go │ │ │ │ └── pulsar_manager_test.go │ │ │ ├── mq_dml_sink.go │ │ │ ├── mq_dml_sink_test.go │ │ │ ├── pulsar_dml_sink.go │ │ │ ├── transformer │ │ │ │ ├── columnselector │ │ │ │ │ ├── column_selector.go │ │ │ │ │ └── column_selector_test.go │ │ │ │ └── transformer.go │ │ │ ├── worker.go │ │ │ └── worker_test.go │ │ └── txn │ │ │ ├── backend.go │ │ │ ├── event.go │ │ │ ├── event_test.go │ │ │ ├── main_test.go │ │ │ ├── mysql │ │ │ ├── dml.go │ │ │ ├── dml_test.go │ │ │ ├── main_test.go │ │ │ ├── mysql.go │ │ │ └── mysql_test.go │ │ │ ├── txn_dml_sink.go │ │ │ ├── txn_dml_sink_test.go │ │ │ └── worker.go │ ├── metrics │ │ ├── cloudstorage │ │ │ └── metrics.go │ │ ├── metrics.go │ │ ├── mq │ │ │ ├── metrics.go │ │ │ └── pulsar.go │ │ ├── statistics.go │ │ ├── tablesink │ │ │ └── metrics.go │ │ └── txn │ │ │ └── metrics.go │ ├── tablesink │ │ ├── main_test.go │ │ ├── progress_tracker.go │ │ ├── progress_tracker_test.go │ │ ├── state │ │ │ ├── state.go │ │ │ └── state_test.go │ │ ├── table_sink.go │ │ ├── table_sink_impl.go │ │ └── table_sink_impl_test.go │ ├── util │ │ ├── helper.go │ │ ├── helper_test.go │ │ └── main_test.go │ └── validator │ │ ├── main_test.go │ │ ├── validator.go │ │ └── validator_test.go ├── syncpointstore │ ├── mysql_syncpoint_store.go │ └── syncpoint_store.go └── vars │ └── vars.go ├── cmd ├── cdc │ ├── fips.go │ ├── main.go │ └── main_test.go ├── dm-ctl │ ├── OWNERS │ ├── main.go │ └── main_test.go ├── dm-master │ ├── OWNERS │ ├── main.go │ └── main_test.go ├── dm-syncer │ ├── OWNERS │ ├── config.go │ ├── main.go │ └── main_test.go ├── dm-worker │ ├── OWNERS │ ├── main.go │ └── main_test.go ├── filter-helper │ └── main.go ├── kafka-consumer │ ├── consumer.go │ ├── event_group.go │ ├── main.go │ ├── option.go │ └── writer.go ├── oauth2-server │ └── main.go ├── pulsar-consumer │ └── main.go ├── storage-consumer │ └── main.go └── tiflow │ └── main.go ├── deployments ├── engine │ ├── docker-compose │ │ ├── 1m1e.yaml │ │ ├── 1m1e_with_s3.yaml │ │ ├── 1m3e.yaml │ │ ├── 1meta.yaml │ │ ├── 1minio.yaml │ │ ├── 1prometheus.yaml │ │ ├── 3m3e.yaml │ │ ├── 3m3e_with_s3.yaml │ │ ├── 3m3e_with_tls.yaml │ │ ├── config │ │ │ ├── alertmanager.yml │ │ │ ├── demo.json │ │ │ ├── etcd.yml │ │ │ ├── executor.toml │ │ │ ├── fake_job.json │ │ │ ├── master.toml │ │ │ ├── master_with_s3.toml │ │ │ ├── master_with_tls.toml │ │ │ ├── mysql.cnf │ │ │ ├── mysql2.cnf │ │ │ ├── mysql_meta.cnf │ │ │ ├── prometheus.yml │ │ │ ├── template_executor.toml │ │ │ ├── template_master.toml │ │ │ ├── tidb.toml │ │ │ ├── tidb_new_collation_off.toml │ │ │ └── tidb_tls.toml │ │ ├── dm_databases.yaml │ │ ├── dm_databases_tidb_new_collation_off.yaml │ │ └── dm_databases_with_tls.yaml │ ├── docker │ │ ├── Dockerfile │ │ ├── dev.Dockerfile │ │ └── dind.Dockerfile │ ├── helm │ │ ├── minio │ │ │ ├── minio-create-bucket.yaml │ │ │ └── minio.yaml │ │ └── tiflow │ │ │ ├── .helmignore │ │ │ ├── Chart.yaml │ │ │ ├── templates │ │ │ ├── _helpers.tpl │ │ │ ├── cases.yaml │ │ │ ├── configmap.yaml │ │ │ ├── executor.yaml │ │ │ ├── metastore-etcd.yaml │ │ │ ├── metastore-mysql.yaml │ │ │ └── server-master.yaml │ │ │ └── values.yaml │ └── run-engine.sh └── ticdc │ ├── docker-compose │ ├── configs │ │ ├── canal-test-config.toml │ │ ├── enable-oldvalue-config.toml │ │ ├── jdbc-sink-connector.json │ │ ├── pd.toml │ │ ├── tidb.toml │ │ └── tikv.toml │ ├── docker-compose-avro.yml │ ├── docker-compose-canal.yml │ ├── docker-compose-kafka-integration.yml │ ├── docker-compose-mysql-integration.yml │ ├── docker-compose-mysql.yml │ └── docker-compose-storage-integration.yml │ └── docker │ ├── Dockerfile │ ├── dev.Dockerfile │ ├── integration-test.Dockerfile │ ├── kafka-consumer.Dockerfile │ ├── pulsar-integration-test.Dockerfile │ └── storage-consumer.Dockerfile ├── dm ├── .codecov.yml ├── .golangci.yml ├── CONTRIBUTING.md ├── Dockerfile ├── OWNERS ├── SECURITY.md ├── _utils │ └── terror_gen │ │ ├── README.md │ │ ├── check.sh │ │ ├── checker_template.go │ │ ├── errors_release.txt │ │ └── gen.go ├── chaos │ ├── cases │ │ ├── cases.go │ │ ├── conf │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ ├── source3.yaml │ │ │ ├── task-optimistic.yaml │ │ │ ├── task-pessimistic.yaml │ │ │ └── task-single.yaml │ │ ├── config.go │ │ ├── db.go │ │ ├── diff.go │ │ ├── generator.go │ │ ├── instance.go │ │ ├── main.go │ │ ├── member.go │ │ ├── result.go │ │ ├── schema.go │ │ ├── source.go │ │ ├── stmt.go │ │ └── task.go │ ├── manifests │ │ ├── Dockerfile │ │ ├── cases.yaml │ │ ├── dm-master.yaml │ │ ├── dm-worker.yaml │ │ ├── io-chaos-dm.yaml │ │ ├── network-emulation-dm.yaml │ │ ├── network-partition-dm.yaml │ │ ├── pod-failure-dm.yaml │ │ ├── pod-kill-dm.yaml │ │ ├── sources.yaml │ │ └── tidb.yaml │ └── scripts │ │ └── check-case.sh ├── checker │ ├── check_test.go │ ├── checker.go │ └── cmd.go ├── common │ ├── common.go │ └── common_test.go ├── config │ ├── OWNERS │ ├── checker_config.go │ ├── checking_item.go │ ├── checking_item_test.go │ ├── dbconfig │ │ └── config.go │ ├── expression_filter.go │ ├── helper.go │ ├── helper_test.go │ ├── security │ │ └── security.go │ ├── security_test.go │ ├── source.yaml │ ├── source_config.go │ ├── source_config_test.go │ ├── source_converter.go │ ├── source_converter_test.go │ ├── subtask.go │ ├── subtask.toml │ ├── subtask_test.go │ ├── task.go │ ├── task_cli_args.go │ ├── task_cli_args_test.go │ ├── task_converters.go │ ├── task_converters_test.go │ └── task_test.go ├── ctl │ ├── common │ │ ├── config.go │ │ ├── config_test.go │ │ ├── operate_relay.go │ │ ├── operate_task.go │ │ ├── util.go │ │ └── util_test.go │ ├── ctl.go │ ├── dmctl.toml │ └── master │ │ ├── binlog.go │ │ ├── check_task.go │ │ ├── config.go │ │ ├── get_config.go │ │ ├── handle_error.go │ │ ├── list_member.go │ │ ├── offline_member.go │ │ ├── operate_leader.go │ │ ├── operate_schema.go │ │ ├── operate_source.go │ │ ├── operate_task.go │ │ ├── operate_task_test.go │ │ ├── operate_validation.go │ │ ├── pause_relay.go │ │ ├── pause_task.go │ │ ├── purge_relay.go │ │ ├── query_status.go │ │ ├── query_status_test.go │ │ ├── query_validation.go │ │ ├── resume_relay.go │ │ ├── resume_task.go │ │ ├── shard_ddl_lock.go │ │ ├── show_ddl_locks.go │ │ ├── source_table_schema.go │ │ ├── start_stop_relay.go │ │ ├── start_stop_validation.go │ │ ├── start_task.go │ │ ├── stop_task.go │ │ ├── transfer_source.go │ │ ├── unlock_ddl_lock.go │ │ ├── update_validation.go │ │ └── validation_cmd.go ├── debug-tools │ └── binlog-event-blackhole │ │ ├── README.md │ │ ├── config.go │ │ ├── fetcher.go │ │ ├── main.go │ │ └── packet.go ├── docs │ ├── RFCS │ │ ├── 20190722_error_handling.md │ │ ├── 20190814_task_auto_recovery.md │ │ ├── 20190906_flow_control.md │ │ ├── 20191209_optimistic_ddl.md │ │ ├── 20200412_syncer_plugin.md │ │ ├── 20211008_dml_execution_optimization.md │ │ ├── 20211012_async_checkpoint_flush.md │ │ ├── 20211130_enhanced_pre_checker.md │ │ ├── 20220124_enhance_task_manageability.md │ │ ├── 20220308_support_dump_files_store_in_s3.md │ │ └── 20220721_continuous_data_validation.md │ └── media │ │ ├── add-drop-column.png │ │ ├── asynchronously-checkpoint-flush-with-causality-opt.png │ │ ├── asynchronously-checkpoint-flush.png │ │ ├── compatible-add-column-on-first-shard.png │ │ ├── compatible-character-sets-char-binary.png │ │ ├── compatible-character-types-text-blob.png │ │ ├── compatible-character-types.png │ │ ├── compatible-check.png │ │ ├── compatible-default.png │ │ ├── compatible-generated-columns.png │ │ ├── compatible-indices.png │ │ ├── compatible-integer-types.png │ │ ├── compatible-null.png │ │ ├── compatible-precision.png │ │ ├── compatible-sets-enums.png │ │ ├── compatible-stored-generated-columns.png │ │ ├── compatible.png │ │ ├── ddl-conflict.png │ │ ├── dm-architecture.png │ │ ├── dm-master-ddl.png │ │ ├── dm-new-task-lifecycle.png │ │ ├── dm-old-task-lifecycle.png │ │ ├── dml-execution-optimization-benchmark.png │ │ ├── flow.png │ │ ├── modify-column-null.png │ │ ├── new-dmctl.svg │ │ ├── rfc-load-benchmark.png │ │ ├── shard-table-merge.png │ │ └── synchronously-checkpoint-flush.png ├── dumpling │ ├── dumpling.go │ ├── dumpling_test.go │ └── metrics.go ├── errors.toml ├── loader │ ├── checkpoint.go │ ├── checkpoint_test.go │ ├── dumpfile │ │ ├── test1.t2-schema.sql │ │ └── test1.t3-schema.sql │ ├── lightning.go │ ├── lightning_test.go │ ├── metrics.go │ └── util.go ├── master │ ├── OWNERS │ ├── agent_pool.go │ ├── agent_pool_test.go │ ├── bootstrap.go │ ├── bootstrap_test.go │ ├── config.go │ ├── config_test.go │ ├── dm-master.toml │ ├── election.go │ ├── election_test.go │ ├── etcd.go │ ├── etcd_test.go │ ├── http_handler.go │ ├── metrics │ │ └── metrics.go │ ├── openapi_controller.go │ ├── openapi_controller_test.go │ ├── openapi_view.go │ ├── openapi_view_test.go │ ├── scheduler │ │ ├── latch.go │ │ ├── latch_test.go │ │ ├── scheduler.go │ │ ├── scheduler_test.go │ │ ├── worker.go │ │ └── worker_test.go │ ├── server.go │ ├── server_test.go │ ├── shardddl │ │ ├── info.go │ │ ├── info_test.go │ │ ├── optimist.go │ │ ├── optimist_test.go │ │ ├── pessimist.go │ │ └── pessimist_test.go │ ├── source.yaml │ ├── task_advanced.yaml │ ├── task_basic.yaml │ ├── tls_for_test │ │ ├── ca.pem │ │ ├── dm.key │ │ └── dm.pem │ └── workerrpc │ │ ├── interface.go │ │ ├── rawgrpc.go │ │ └── workerrpc_test.go ├── metrics │ └── alertmanager │ │ └── dm_worker.rules.yml ├── openapi │ ├── fixtures │ │ ├── source.go │ │ └── task.go │ ├── gen.client.go │ ├── gen.server.go │ ├── gen.types.go │ ├── logger.go │ ├── logger_test.go │ ├── spec │ │ ├── client-gen-cfg.yaml │ │ ├── dm.yaml │ │ ├── server-gen-cfg.yaml │ │ └── types-gen-cfg.yaml │ ├── swaggerui.go │ ├── swaggerui_test.go │ ├── task.go │ └── task_test.go ├── pb │ ├── dmmaster.pb.go │ ├── dmmaster.pb.gw.go │ ├── dmworker.pb.go │ └── hide_password.go ├── pbmock │ ├── dmmaster.go │ └── dmworker.go ├── pkg │ ├── backoff │ │ ├── backoff.go │ │ └── backoff_test.go │ ├── binlog │ │ ├── common │ │ │ ├── replication.go │ │ │ ├── replication_test.go │ │ │ ├── stage.go │ │ │ └── stage_test.go │ │ ├── event │ │ │ ├── common.go │ │ │ ├── common_test.go │ │ │ ├── ddl.go │ │ │ ├── ddl_test.go │ │ │ ├── default_arg.go │ │ │ ├── dml.go │ │ │ ├── dml_test.go │ │ │ ├── event.go │ │ │ ├── event_test.go │ │ │ ├── generator.go │ │ │ ├── generator_test.go │ │ │ ├── helper.go │ │ │ ├── helper_test.go │ │ │ ├── sid_mysql.go │ │ │ ├── sid_mysql_test.go │ │ │ ├── util.go │ │ │ └── util_test.go │ │ ├── file.go │ │ ├── file_test.go │ │ ├── pos_finder.go │ │ ├── pos_finder_test.go │ │ ├── position.go │ │ ├── position_test.go │ │ ├── reader │ │ │ ├── file.go │ │ │ ├── file_test.go │ │ │ ├── mock.go │ │ │ ├── mock_test.go │ │ │ ├── reader.go │ │ │ ├── tcp.go │ │ │ ├── tcp_test.go │ │ │ └── util.go │ │ ├── status.go │ │ └── status_test.go │ ├── checker │ │ ├── binlog.go │ │ ├── binlog_test.go │ │ ├── conn_checker.go │ │ ├── conn_checker_test.go │ │ ├── lightning.go │ │ ├── lightning_test.go │ │ ├── mysql_server.go │ │ ├── mysql_server_test.go │ │ ├── onlineddl.go │ │ ├── primary_key.go │ │ ├── primary_key_test.go │ │ ├── privilege.go │ │ ├── privilege_test.go │ │ ├── real_checker.go │ │ ├── table_structure.go │ │ ├── table_structure_test.go │ │ ├── utils.go │ │ ├── utils_test.go │ │ ├── worker_pool.go │ │ └── worker_pool_test.go │ ├── conn │ │ ├── baseconn.go │ │ ├── baseconn_test.go │ │ ├── basedb.go │ │ ├── basedb_test.go │ │ ├── db.go │ │ ├── db_test.go │ │ ├── mockdb.go │ │ ├── utils.go │ │ └── utils_test.go │ ├── context │ │ └── context.go │ ├── cputil │ │ ├── table.go │ │ └── table_test.go │ ├── dumpling │ │ ├── utils.go │ │ └── utils_test.go │ ├── election │ │ ├── election.go │ │ └── election_test.go │ ├── encrypt │ │ ├── encrypt.go │ │ └── encrypt_test.go │ ├── etcdutil │ │ ├── etcdutil.go │ │ └── etcdutil_test.go │ ├── func-rollback │ │ ├── rollback.go │ │ └── rollback_test.go │ ├── gtid │ │ ├── gtid.go │ │ └── gtid_test.go │ ├── ha │ │ ├── bound.go │ │ ├── bound_test.go │ │ ├── doc.go │ │ ├── keepalive.go │ │ ├── keepalive_test.go │ │ ├── lightning_coordinate.go │ │ ├── lightning_coordinate_test.go │ │ ├── load_task.go │ │ ├── load_task_test.go │ │ ├── openapi_task_config.go │ │ ├── openapi_task_config_test.go │ │ ├── ops.go │ │ ├── ops_test.go │ │ ├── relay.go │ │ ├── relay_test.go │ │ ├── source.go │ │ ├── source_test.go │ │ ├── stage.go │ │ ├── stage_test.go │ │ ├── subtask.go │ │ ├── subtask_test.go │ │ ├── task_cli_args.go │ │ ├── task_cli_args_test.go │ │ ├── worker.go │ │ └── worker_test.go │ ├── helper │ │ ├── value.go │ │ └── value_test.go │ ├── log │ │ ├── ctx.go │ │ ├── ctx_test.go │ │ ├── log.go │ │ └── log_test.go │ ├── parser │ │ ├── common.go │ │ └── common_test.go │ ├── printinit │ │ └── noimport.go │ ├── retry │ │ ├── errors.go │ │ ├── strategy.go │ │ └── strategy_test.go │ ├── schema │ │ ├── tracker.go │ │ ├── tracker_test.go │ │ └── visitor.go │ ├── shardddl │ │ ├── optimism │ │ │ ├── column.go │ │ │ ├── column_test.go │ │ │ ├── doc.go │ │ │ ├── info.go │ │ │ ├── info_test.go │ │ │ ├── keeper.go │ │ │ ├── keeper_test.go │ │ │ ├── lock.go │ │ │ ├── lock_test.go │ │ │ ├── operation.go │ │ │ ├── operation_test.go │ │ │ ├── ops.go │ │ │ ├── ops_test.go │ │ │ ├── table.go │ │ │ └── table_test.go │ │ └── pessimism │ │ │ ├── doc.go │ │ │ ├── info.go │ │ │ ├── info_test.go │ │ │ ├── keeper.go │ │ │ ├── keeper_test.go │ │ │ ├── lock.go │ │ │ ├── lock_test.go │ │ │ ├── operation.go │ │ │ ├── operation_test.go │ │ │ ├── ops.go │ │ │ └── ops_test.go │ ├── storage │ │ ├── utils.go │ │ └── utils_test.go │ ├── streamer │ │ ├── hub.go │ │ └── hub_test.go │ ├── terror │ │ ├── adapter.go │ │ ├── adapter_test.go │ │ ├── errcode_string.go │ │ ├── error_list.go │ │ ├── terror.go │ │ └── terror_test.go │ ├── upgrade │ │ ├── upgrade.go │ │ ├── upgrade_test.go │ │ ├── version.go │ │ └── version_test.go │ ├── utils │ │ ├── common.go │ │ ├── common_test.go │ │ ├── encrypt.go │ │ ├── encrypt_test.go │ │ ├── file.go │ │ ├── file_test.go │ │ ├── filename.go │ │ ├── filename_test.go │ │ ├── hash.go │ │ ├── hash_test.go │ │ ├── relay.go │ │ ├── relay_test.go │ │ ├── storage.go │ │ ├── storage_freebsd.go │ │ ├── storage_test.go │ │ ├── storage_unix.go │ │ ├── storage_windows.go │ │ ├── string.go │ │ ├── string_test.go │ │ ├── time.go │ │ ├── time_test.go │ │ ├── util.go │ │ └── util_test.go │ ├── v1dbschema │ │ ├── schema.go │ │ ├── schema_test.go │ │ └── v106_data_for_test │ │ │ ├── v106_syncer_checkpoint-schema.sql │ │ │ ├── v106_syncer_checkpoint.sql │ │ │ ├── v106_syncer_onlineddl-schema.sql │ │ │ └── v106_syncer_onlineddl.sql │ └── v1workermeta │ │ ├── api.go │ │ ├── api_test.go │ │ ├── db.go │ │ ├── meta.go │ │ ├── meta_test.go │ │ └── v106_data_for_test │ │ └── kv │ │ ├── 000002.ldb │ │ ├── 000006.ldb │ │ ├── 000007.ldb │ │ ├── 000009.ldb │ │ ├── 000010.ldb │ │ ├── 000011.log │ │ ├── 000012.ldb │ │ ├── 000013.ldb │ │ ├── CURRENT │ │ ├── CURRENT.bak │ │ ├── LOCK │ │ ├── LOG │ │ └── MANIFEST-000004 ├── proto │ ├── dmmaster.proto │ └── dmworker.proto ├── relay │ ├── binlog_writer.go │ ├── binlog_writer_test.go │ ├── config.go │ ├── file.go │ ├── file_test.go │ ├── file_util.go │ ├── file_util_test.go │ ├── local_reader.go │ ├── local_reader_test.go │ ├── meta.go │ ├── meta_test.go │ ├── metrics.go │ ├── purge_strategy.go │ ├── purger.go │ ├── purger_helper.go │ ├── purger_helper_test.go │ ├── purger_test.go │ ├── relay.go │ ├── relay_test.go │ ├── relay_writer.go │ ├── relay_writer_test.go │ ├── remote_retry.go │ ├── remote_retry_test.go │ ├── streamer.go │ ├── streamer_test.go │ ├── upstream_reader.go │ ├── upstream_reader_test.go │ ├── util.go │ └── util_test.go ├── roadmap.md ├── simulator │ ├── config │ │ ├── config.go │ │ └── config_test.go │ ├── mcp │ │ ├── errors.go │ │ ├── mcp.go │ │ ├── mcp_test.go │ │ ├── uk.go │ │ └── uk_test.go │ └── sqlgen │ │ ├── errors.go │ │ ├── impl.go │ │ ├── impl_test.go │ │ └── sqlgen.go ├── step_by_step_contribute.md ├── syncer │ ├── binlogstream │ │ ├── binlog_locations.go │ │ ├── binlog_locations_test.go │ │ ├── stream_modifier.go │ │ ├── stream_modifier_test.go │ │ ├── streamer_controller.go │ │ ├── streamer_controller_test.go │ │ └── util.go │ ├── causality.go │ ├── causality_test.go │ ├── checkpoint.go │ ├── checkpoint_flush_worker.go │ ├── checkpoint_test.go │ ├── compactor.go │ ├── compactor_test.go │ ├── data_validator.go │ ├── data_validator_test.go │ ├── dbconn │ │ ├── db.go │ │ ├── upstream_db.go │ │ ├── upstream_db_test.go │ │ └── utils.go │ ├── ddl.go │ ├── ddl_test.go │ ├── dml.go │ ├── dml_test.go │ ├── dml_worker.go │ ├── dml_worker_test.go │ ├── error.go │ ├── error_test.go │ ├── expr_filter_group.go │ ├── expr_filter_group_test.go │ ├── filter.go │ ├── filter_test.go │ ├── handle_error.go │ ├── handle_error_test.go │ ├── job.go │ ├── job_test.go │ ├── metrics │ │ ├── metrics.go │ │ └── validator_metrics.go │ ├── online-ddl-tools │ │ └── online_ddl.go │ ├── opt_sharding_group.go │ ├── opt_sharding_group_test.go │ ├── optimist.go │ ├── relay.go │ ├── safe-mode │ │ ├── mode.go │ │ └── mode_test.go │ ├── safe_mode.go │ ├── safe_mode_test.go │ ├── schema.go │ ├── shardddl │ │ ├── optimist.go │ │ ├── optimist_test.go │ │ ├── pessimist.go │ │ └── pessimist_test.go │ ├── sharding-meta │ │ ├── shardmeta.go │ │ └── shardmeta_test.go │ ├── sharding_group.go │ ├── sharding_group_test.go │ ├── status.go │ ├── status_test.go │ ├── syncer.go │ ├── syncer_test.go │ ├── test_injector.go │ ├── util.go │ ├── util_test.go │ ├── validate_worker.go │ ├── validate_worker_test.go │ ├── validator_checkpoint.go │ ├── validator_checkpoint_test.go │ ├── validator_cond.go │ └── validator_cond_test.go ├── tests │ ├── README.md │ ├── _dmctl_tools │ │ ├── check_exit_safe_binlog.go │ │ ├── check_master_http_apis.go │ │ ├── check_master_online.go │ │ ├── check_master_online_http.go │ │ └── check_worker_online.go │ ├── _utils │ │ ├── check_contains │ │ ├── check_count │ │ ├── check_grafana_dashboard_datasource │ │ ├── check_http_alive │ │ ├── check_log_contains │ │ ├── check_log_not_contains │ │ ├── check_metric │ │ ├── check_metric_not_contains │ │ ├── check_not_contains │ │ ├── check_port │ │ ├── check_port_alive │ │ ├── check_port_offline │ │ ├── check_port_return │ │ ├── check_process_exit │ │ ├── check_rpc_alive │ │ ├── check_sync_diff │ │ ├── check_ticker_interval │ │ ├── check_two_metric_equal │ │ ├── env_variables │ │ ├── get_leader │ │ ├── ha_cases_lib.sh │ │ ├── handle_error_lib.sh │ │ ├── run_dm_ctl │ │ ├── run_dm_ctl_cmd_mode │ │ ├── run_dm_ctl_plain │ │ ├── run_dm_ctl_with_rematch │ │ ├── run_dm_ctl_with_retry │ │ ├── run_dm_ctl_with_tls_and_retry │ │ ├── run_dm_master │ │ ├── run_dm_master_info_log │ │ ├── run_dm_syncer │ │ ├── run_dm_worker │ │ ├── run_downstream_cluster │ │ ├── run_downstream_cluster_with_tls │ │ ├── run_sql │ │ ├── run_sql_file │ │ ├── run_sql_file_online_ddl │ │ ├── run_sql_online_ddl │ │ ├── run_tidb_server │ │ ├── shardddl_lib.sh │ │ ├── test_prepare │ │ ├── truncate_trace_events │ │ ├── wait_process_exit │ │ └── wait_until_sync │ ├── adjust_gtid │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── all_mode │ │ ├── conf │ │ │ ├── diff_config-1.toml │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task-expression-filter.yaml │ │ │ ├── dm-task-no-gtid.yaml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── regexpr-task-lightning.yaml │ │ │ ├── regexpr-task.yaml │ │ │ ├── regexpr_diff_config.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment0.sql │ │ │ ├── db1.increment3.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db1.regexpr.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment0.sql │ │ │ ├── db2.increment3.sql │ │ │ ├── db2.prepare.sql │ │ │ ├── db2.regexpr.sql │ │ │ ├── db3.increment.sql │ │ │ └── db3.prepare.sql │ │ └── run.sh │ ├── async_checkpoint_flush │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ ├── data │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── binlog_999999 │ │ └── docker-compose.yml │ ├── binlog_parse │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment1.sql │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── case_sensitive │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── check_task │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── source1.yaml │ │ │ ├── task-noshard.yaml │ │ │ ├── task-priv.yaml │ │ │ └── task-sharding.yaml │ │ ├── data │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── checkpoint_transaction │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ ├── data │ │ │ ├── db1.increment1.sql │ │ │ ├── db1.increment2.sql │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── compatibility │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.1.sql │ │ │ ├── db1.increment.2.sql │ │ │ ├── db1.increment.3.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.1.sql │ │ │ ├── db2.increment.2.sql │ │ │ ├── db2.increment.3.sql │ │ │ └── db2.prepare.sql │ │ └── start.sh │ ├── compatibility_run.sh │ ├── dm_syncer │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── diff_config_blalist.toml │ │ │ ├── diff_config_route_rules.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-syncer-1.toml │ │ │ ├── dm-syncer-2.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── old_meta_file │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db1.prepare.user.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.prepare.sql │ │ │ └── db2.prepare.user.sql │ │ └── run.sh │ ├── dmctl_advance │ │ ├── check_list │ │ │ ├── binlog.sh │ │ │ ├── handle_error.sh │ │ │ ├── migrate_relay.sh │ │ │ ├── source_table_schema.sh │ │ │ ├── sql_inject.sh │ │ │ └── unlock_ddl_lock.sh │ │ ├── conf │ │ │ └── dm-master.toml │ │ └── run.sh │ ├── dmctl_basic │ │ ├── check_list │ │ │ ├── check_task.sh │ │ │ ├── config.sh │ │ │ ├── dmctl.sh │ │ │ ├── operate_source.sh │ │ │ ├── pause_relay.sh │ │ │ ├── pause_task.sh │ │ │ ├── purge_relay.sh │ │ │ ├── query_status.sh │ │ │ ├── resume_relay.sh │ │ │ ├── resume_task.sh │ │ │ ├── show_ddl_locks.sh │ │ │ ├── start_relay.sh │ │ │ ├── start_task.sh │ │ │ ├── stop_relay.sh │ │ │ ├── stop_task.sh │ │ │ ├── transfer_source.sh │ │ │ ├── update_master_config.sh │ │ │ ├── update_relay.sh │ │ │ └── update_task.sh │ │ ├── conf │ │ │ ├── bar-task.yaml │ │ │ ├── baz-task.yaml │ │ │ ├── diff_config.toml │ │ │ ├── diff_config2.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-task2.yaml │ │ │ ├── dm-task3.yaml │ │ │ ├── dm-task4.yaml │ │ │ ├── dm-task5.yaml │ │ │ ├── dm-task6.yaml │ │ │ ├── dm-task7.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── empty-unit-task.yaml │ │ │ ├── foo-task.yaml │ │ │ ├── get_master1.toml │ │ │ ├── get_source1.yaml │ │ │ ├── get_source2.yaml │ │ │ ├── get_task.yaml │ │ │ ├── get_worker1.toml │ │ │ ├── get_worker2.toml │ │ │ ├── key.txt │ │ │ ├── only_warning.yaml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── dmctl_command │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task-no-validator.yaml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-task2-no-validator.yaml │ │ │ ├── dm-task2.yaml │ │ │ ├── dm-task3.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1-encrypted-pass.yaml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── download-compatibility-test-binaries.sh │ ├── download-integration-test-binaries.sh │ ├── downstream_diff_index │ │ ├── conf │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.prepare.sql │ │ │ └── tidb.prepare.sql │ │ └── run.sh │ ├── downstream_more_column │ │ ├── conf │ │ │ ├── dm-master.toml │ │ │ ├── dm-task-incremental.yaml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── schema.sql │ │ │ └── tidb.prepare.sql │ │ └── run.sh │ ├── drop_column_with_index │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── duplicate_event │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── diff_relay_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task-relay.yaml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── expression_filter │ │ ├── conf │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-task2.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ └── db1.prepare2.sql │ │ └── run.sh │ ├── extend_column │ │ ├── conf │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.delete.sql │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db1.update.sql │ │ │ ├── db2.delete.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.prepare.sql │ │ │ ├── db2.update.sql │ │ │ └── tidb.prepare.sql │ │ └── run.sh │ ├── fake_rotate_event │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ ├── data │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── foreign_key │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── full_mode │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task-2.yaml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.prepare.sql │ │ │ ├── db1.prepare.user.sql │ │ │ ├── db2.prepare.sql │ │ │ └── db2.prepare.user.sql │ │ └── run.sh │ ├── gbk │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── gtid │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── ha │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master1.toml │ │ │ ├── dm-master2.toml │ │ │ ├── dm-master3.toml │ │ │ ├── dm-master4.toml │ │ │ ├── dm-master5.toml │ │ │ ├── dm-master6.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm-worker3.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── ha_cases │ │ ├── conf │ │ │ ├── diff-standalone-config.toml │ │ │ ├── diff_config.toml │ │ │ ├── diff_config_multi_task.toml │ │ │ ├── dm-master-join1.toml │ │ │ ├── dm-master-join2.toml │ │ │ ├── dm-master-join3.toml │ │ │ ├── dm-master-join4.toml │ │ │ ├── dm-master-join5.toml │ │ │ ├── dm-master-standalone.toml │ │ │ ├── dm-master1.toml │ │ │ ├── dm-master2.toml │ │ │ ├── dm-master3.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-task2.yaml │ │ │ ├── dm-worker-join1.toml │ │ │ ├── dm-worker-join2.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm-worker3.toml │ │ │ ├── dm-worker4.toml │ │ │ ├── dm-worker5.toml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ ├── standalone-task.yaml │ │ │ └── standalone-task2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── ha_cases2 │ │ ├── conf │ │ │ ├── diff-standalone-config.toml │ │ │ ├── diff_config.toml │ │ │ ├── diff_config_multi_task.toml │ │ │ ├── dm-master-join1.toml │ │ │ ├── dm-master-join2.toml │ │ │ ├── dm-master-join3.toml │ │ │ ├── dm-master-join4.toml │ │ │ ├── dm-master-join5.toml │ │ │ ├── dm-master1.toml │ │ │ ├── dm-master2.toml │ │ │ ├── dm-master3.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-task2.yaml │ │ │ ├── dm-worker-join1.toml │ │ │ ├── dm-worker-join2.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm-worker3.toml │ │ │ ├── dm-worker4.toml │ │ │ ├── dm-worker5.toml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ ├── standalone-task.yaml │ │ │ └── standalone-task2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── ha_cases3 │ │ ├── conf │ │ │ ├── diff-standalone-config.toml │ │ │ ├── diff_config.toml │ │ │ ├── diff_config_multi_task.toml │ │ │ ├── dm-master-join1.toml │ │ │ ├── dm-master-join2.toml │ │ │ ├── dm-master-join3.toml │ │ │ ├── dm-master-join4.toml │ │ │ ├── dm-master-join5.toml │ │ │ ├── dm-master1.toml │ │ │ ├── dm-master2.toml │ │ │ ├── dm-master3.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-task2.yaml │ │ │ ├── dm-worker-join1.toml │ │ │ ├── dm-worker-join2.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm-worker3.toml │ │ │ ├── dm-worker4.toml │ │ │ ├── dm-worker5.toml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ ├── standalone-task.yaml │ │ │ └── standalone-task2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── ha_cases3_1 │ │ ├── conf │ │ │ ├── diff-standalone-config.toml │ │ │ ├── diff_config.toml │ │ │ ├── diff_config_multi_task.toml │ │ │ ├── dm-master-join1.toml │ │ │ ├── dm-master-join2.toml │ │ │ ├── dm-master-join3.toml │ │ │ ├── dm-master-join4.toml │ │ │ ├── dm-master-join5.toml │ │ │ ├── dm-master1.toml │ │ │ ├── dm-master2.toml │ │ │ ├── dm-master3.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-task2.yaml │ │ │ ├── dm-worker-join1.toml │ │ │ ├── dm-worker-join2.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm-worker3.toml │ │ │ ├── dm-worker4.toml │ │ │ ├── dm-worker5.toml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ ├── standalone-task.yaml │ │ │ └── standalone-task2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── ha_cases_1 │ │ ├── conf │ │ │ ├── diff-standalone-config.toml │ │ │ ├── diff_config.toml │ │ │ ├── diff_config_multi_task.toml │ │ │ ├── dm-master-join1.toml │ │ │ ├── dm-master-join2.toml │ │ │ ├── dm-master-join3.toml │ │ │ ├── dm-master-join4.toml │ │ │ ├── dm-master-join5.toml │ │ │ ├── dm-master1.toml │ │ │ ├── dm-master2.toml │ │ │ ├── dm-master3.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-task2.yaml │ │ │ ├── dm-worker-join1.toml │ │ │ ├── dm-worker-join2.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm-worker3.toml │ │ │ ├── dm-worker4.toml │ │ │ ├── dm-worker5.toml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ ├── standalone-task.yaml │ │ │ └── standalone-task2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── ha_cases_2 │ │ ├── conf │ │ │ ├── diff-standalone-config.toml │ │ │ ├── diff_config.toml │ │ │ ├── diff_config_multi_task.toml │ │ │ ├── dm-master-join1.toml │ │ │ ├── dm-master-join2.toml │ │ │ ├── dm-master-join3.toml │ │ │ ├── dm-master-join4.toml │ │ │ ├── dm-master-join5.toml │ │ │ ├── dm-master1.toml │ │ │ ├── dm-master2.toml │ │ │ ├── dm-master3.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-task2.yaml │ │ │ ├── dm-worker-join1.toml │ │ │ ├── dm-worker-join2.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm-worker3.toml │ │ │ ├── dm-worker4.toml │ │ │ ├── dm-worker5.toml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ ├── standalone-task.yaml │ │ │ └── standalone-task2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── ha_master │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master-join1.toml │ │ │ ├── dm-master1.toml │ │ │ ├── dm-master2.toml │ │ │ ├── dm-master3.toml │ │ │ ├── dm-master4.toml │ │ │ ├── dm-master5.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── handle_error │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-no-sharding.yaml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── double-source-pessimistic.yaml │ │ │ ├── single-source-no-sharding.yaml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ └── run.sh │ ├── handle_error_2 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-no-sharding.yaml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── double-source-pessimistic.yaml │ │ │ ├── single-source-no-sharding.yaml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ └── run.sh │ ├── handle_error_3 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-no-sharding.yaml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── double-source-pessimistic.yaml │ │ │ ├── single-source-no-sharding.yaml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ └── run.sh │ ├── http_apis │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ └── run.sh │ ├── http_proxies │ │ ├── conf │ │ │ ├── dm-master.toml │ │ │ └── dm-worker1.toml │ │ └── run.sh │ ├── import_v10x │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── key.txt │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ └── task.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.prepare.sql │ │ │ └── v106_syncer_checkpoint.sql │ │ ├── dm_worker1_meta │ │ │ └── kv │ │ │ │ ├── 000002.ldb │ │ │ │ ├── 000005.log │ │ │ │ ├── 000006.ldb │ │ │ │ ├── 000007.ldb │ │ │ │ ├── 000010.log │ │ │ │ ├── CURRENT │ │ │ │ ├── CURRENT.bak │ │ │ │ ├── LOCK │ │ │ │ ├── LOG │ │ │ │ ├── MANIFEST-000004 │ │ │ │ └── MANIFEST-000011 │ │ ├── dm_worker2_meta │ │ │ └── kv │ │ │ │ ├── 000002.ldb │ │ │ │ ├── 000005.log │ │ │ │ ├── 000006.ldb │ │ │ │ ├── 000007.ldb │ │ │ │ ├── 000010.log │ │ │ │ ├── CURRENT │ │ │ │ ├── CURRENT.bak │ │ │ │ ├── LOCK │ │ │ │ ├── LOG │ │ │ │ ├── MANIFEST-000004 │ │ │ │ └── MANIFEST-000011 │ │ └── run.sh │ ├── incompatible_ddl_changes │ │ ├── conf │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-task1.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── incremental_mode │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db1.prepare.user.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.prepare.sql │ │ │ └── db2.prepare.user.sql │ │ └── run.sh │ ├── initial_unit │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ └── run.sh │ ├── lightning_load_task │ │ ├── conf │ │ │ ├── diff_config1.toml │ │ │ ├── diff_config2.toml │ │ │ ├── diff_config3.toml │ │ │ ├── diff_config4.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task-standalone.yaml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-task2-standalone.yaml │ │ │ ├── dm-task2.yaml │ │ │ ├── dm-task3.yaml │ │ │ ├── dm-task4.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm-worker3.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── lightning_mode │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task-dup.yaml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ └── task.json │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment0.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment0.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── many_tables │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task-2.yaml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── source1.yaml │ │ │ └── tidb-config-small-txn.toml │ │ └── run.sh │ ├── mariadb_master_down_and_up │ │ ├── case.sh │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── source1.yaml │ │ │ ├── source1_relay.yaml │ │ │ └── task-pessimistic.yaml │ │ ├── docker-compose.yml │ │ └── lib.sh │ ├── metrics │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── new_collation_off │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── source2.yaml │ │ │ └── tidb-config.toml │ │ ├── data │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── new_relay │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm-worker3.toml │ │ │ ├── key.txt │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── configs │ │ │ ├── relay_workers.json │ │ │ ├── sources │ │ │ │ └── mysql-replica-01.yaml │ │ │ └── tasks │ │ │ │ └── test.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.increment3.sql │ │ │ ├── db1.increment4.sql │ │ │ ├── db1.increment5.sql │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── online_ddl │ │ ├── conf │ │ │ ├── check-task.yaml │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm-worker3.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── check.gho.db1.sql │ │ │ ├── check.pt.db1.sql │ │ │ ├── gho.db1.increment.sql │ │ │ ├── gho.db1.increment2.sql │ │ │ ├── gho.db1.prepare.sql │ │ │ ├── gho.db2.increment.sql │ │ │ ├── gho.db2.increment2.sql │ │ │ ├── gho.db2.prepare.sql │ │ │ ├── pt.db1.increment.sql │ │ │ ├── pt.db1.increment2.sql │ │ │ ├── pt.db1.prepare.sql │ │ │ ├── pt.db2.increment.sql │ │ │ ├── pt.db2.increment2.sql │ │ │ └── pt.db2.prepare.sql │ │ └── run.sh │ ├── only_dml │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.prepare.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── openapi │ │ ├── client │ │ │ ├── openapi_cluster_check │ │ │ ├── openapi_source_check │ │ │ └── openapi_task_check │ │ ├── conf │ │ │ ├── diff_config_no_shard.toml │ │ │ ├── diff_config_no_shard_one_source.toml │ │ │ ├── diff_config_shard.toml │ │ │ ├── dm-master1.toml │ │ │ ├── dm-master2.toml │ │ │ ├── dm-worker1.toml │ │ │ └── dm-worker2.toml │ │ ├── run.sh │ │ └── tls_conf │ │ │ ├── ca.pem │ │ │ ├── ca2.pem │ │ │ ├── dm-master1.toml │ │ │ ├── dm-master2.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm.key │ │ │ ├── dm.pem │ │ │ ├── tidb.key │ │ │ └── tidb.pem │ ├── prepare_tools.sh │ ├── print_status │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ ├── data │ │ │ ├── db.increment.sql │ │ │ └── db.prepare.sql │ │ └── run.sh │ ├── relay_interrupt │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ └── run.sh │ ├── requirements.txt │ ├── retry_cancel │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh.todo │ ├── run.sh │ ├── run_group.sh │ ├── s3_dumpling_lightning │ │ ├── conf │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── clean_data.sql │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── safe_mode │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task-safe-mode-duration.yaml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── safe_mode_foreign_key │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── sequence_safe_mode │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── sequence_sharding │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── sequence_sharding_optimistic │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment0.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment0.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── sequence_sharding_removemeta │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── shardddl1 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── double-source-pessimistic.yaml │ │ │ ├── single-source-no-routes.yaml │ │ │ ├── single-source-no-sharding.yaml │ │ │ ├── single-source-optimistic.yaml │ │ │ ├── single-source-pessimistic.yaml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ └── run.sh │ ├── shardddl1_1 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── double-source-pessimistic.yaml │ │ │ ├── single-source-no-routes.yaml │ │ │ ├── single-source-no-sharding.yaml │ │ │ ├── single-source-optimistic.yaml │ │ │ ├── single-source-pessimistic.yaml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ └── run.sh │ ├── shardddl2 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── double-source-pessimistic.yaml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ └── run.sh │ ├── shardddl2_1 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── double-source-pessimistic.yaml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ └── run.sh │ ├── shardddl3 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── double-source-pessimistic.yaml │ │ │ ├── single-source-optimistic-2.yaml │ │ │ ├── single-source-optimistic.yaml │ │ │ ├── single-source-pessimistic-2.yaml │ │ │ ├── single-source-pessimistic.yaml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ └── run.sh │ ├── shardddl3_1 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── double-source-pessimistic.yaml │ │ │ ├── single-source-optimistic-2.yaml │ │ │ ├── single-source-optimistic.yaml │ │ │ ├── single-source-pessimistic-2.yaml │ │ │ ├── single-source-pessimistic.yaml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ └── tidb-alter-pk-config.toml │ │ └── run.sh │ ├── shardddl4 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── double-source-pessimistic.yaml │ │ │ ├── single-source-optimistic-2.yaml │ │ │ ├── single-source-optimistic.yaml │ │ │ ├── single-source-pessimistic-2.yaml │ │ │ ├── single-source-pessimistic.yaml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ └── tidb-alter-pk-config.toml │ │ └── run.sh │ ├── shardddl4_1 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── double-source-pessimistic.yaml │ │ │ ├── double-source-strict-optimistic.yaml │ │ │ ├── single-source-optimistic-2.yaml │ │ │ ├── single-source-optimistic.yaml │ │ │ ├── single-source-pessimistic-2.yaml │ │ │ ├── single-source-pessimistic.yaml │ │ │ ├── single-source-strict-optimistic.yaml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ └── tidb-alter-pk-config.toml │ │ └── run.sh │ ├── shardddl_optimistic │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── double-source-optimistic-incr.yaml │ │ │ ├── double-source-optimistic.yaml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ └── run.sh │ ├── sharding │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.increment3.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ ├── db2.increment3.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── sharding2 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.dropdb.sql │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment2.sql │ │ │ ├── db1.increment3.sql │ │ │ ├── db2.dropdb.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment2.sql │ │ │ └── db2.increment3.sql │ │ └── run.sh │ ├── slow_relay_writer │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ └── source1.yaml │ │ └── run.sh │ ├── sql_mode │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.prepare.sql │ │ │ ├── timezone.America-Phoenix.sql │ │ │ └── timezone.Asia-Shanghai.sql │ │ └── run.sh │ ├── start_task │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ └── source1.yaml │ │ └── run.sh │ ├── sync_collation │ │ ├── conf │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── clean_data.sql │ │ │ ├── db1.increment.sql │ │ │ ├── db1.increment_err.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db1.prepare_err.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.increment_err.sql │ │ │ ├── db2.prepare.sql │ │ │ ├── db2.prepare_err.sql │ │ │ ├── tidb.checktable.increment.prepare.sql │ │ │ └── tidb.checktable.prepare.sql │ │ └── run.sh │ ├── tiup │ │ ├── ansible_data │ │ │ ├── hosts.ini │ │ │ └── inventory.ini │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── diff_config_optimistic.toml │ │ │ ├── diff_config_pessimistic.toml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ ├── task.yaml │ │ │ ├── task_optimistic.yaml │ │ │ ├── task_pessimistic.yaml │ │ │ └── topo.yaml │ │ ├── docker │ │ │ ├── .gitignore │ │ │ ├── control │ │ │ │ ├── Dockerfile │ │ │ │ ├── bashrc │ │ │ │ └── init.sh │ │ │ ├── docker-compose.yml │ │ │ ├── node │ │ │ │ ├── Dockerfile │ │ │ │ ├── bashrc │ │ │ │ └── run.sh │ │ │ ├── readme.md │ │ │ └── secret │ │ │ │ ├── .gitkeep │ │ │ │ ├── control.env │ │ │ │ ├── id_rsa │ │ │ │ ├── id_rsa.pub │ │ │ │ └── node.env │ │ ├── lib.sh │ │ ├── upgrade-from-v1.sh │ │ ├── upgrade-from-v2.sh │ │ └── upgrade-tidb.sh │ ├── tls │ │ ├── conf │ │ │ ├── ca.pem │ │ │ ├── diff_config-1.toml │ │ │ ├── diff_config-2.toml │ │ │ ├── diff_config.toml │ │ │ ├── dm-master-no-tls.toml │ │ │ ├── dm-master1.toml │ │ │ ├── dm-master2.toml │ │ │ ├── dm-master3.toml │ │ │ ├── dm-task-2.yaml │ │ │ ├── dm-task-3.yaml │ │ │ ├── dm-task-no-tls.yaml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── dm-worker3.toml │ │ │ ├── dm.key │ │ │ ├── dm.pem │ │ │ ├── generate_tls.sh │ │ │ ├── other.key │ │ │ ├── other.pem │ │ │ ├── source-no-tls.yaml │ │ │ ├── source-only-ca.yaml │ │ │ ├── source1.yaml │ │ │ └── task-ca.pem │ │ └── run.sh │ ├── tracker_ignored_ddl │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker.toml │ │ │ ├── source1_gtid.yaml │ │ │ └── source1_pos.yaml │ │ ├── data │ │ │ ├── db.increment1.sql │ │ │ ├── db.increment2.sql │ │ │ └── db.prepare.sql │ │ └── run.sh │ ├── upstream_switch │ │ ├── Dockerfile │ │ ├── case.sh │ │ ├── chk_mysql.sh │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ └── task-pessimistic.yaml │ │ ├── docker-compose.yml │ │ ├── init.sh │ │ ├── lib.sh │ │ ├── mysql57_master │ │ │ └── keepalive.conf │ │ ├── mysql57_slave │ │ │ └── keepalive.conf │ │ ├── mysql8_master │ │ │ └── keepalive.conf │ │ └── mysql8_slave │ │ │ └── keepalive.conf │ ├── util.sh │ ├── utils │ │ ├── dmctl.go │ │ └── log.go │ ├── validator_basic │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task-standalone-long-interval.yaml │ │ │ ├── dm-task-standalone-no-validator.yaml │ │ │ ├── dm-task-standalone.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── sharding-task.yaml │ │ │ ├── source1.yaml │ │ │ ├── source2.yaml │ │ │ └── test-filter.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── validator_checkpoint │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── dm-master.toml │ │ │ ├── dm-task.yaml │ │ │ ├── dm-worker1.toml │ │ │ ├── dm-worker2.toml │ │ │ ├── source1.yaml │ │ │ └── source2.yaml │ │ ├── data │ │ │ ├── db1.prepare.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ └── wait_for_mysql.sh ├── ui │ ├── .eslintrc.js │ ├── .husky │ │ └── pre-commit │ ├── .lintstagedrc.js │ ├── .prettierrc.js │ ├── README.md │ ├── embedded_asserts.go │ ├── empty_asserts.go │ ├── index.html │ ├── locales │ │ ├── en.json │ │ └── zh.json │ ├── package.json │ ├── plugins │ │ ├── vite-plugin-i18next-scanner │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── worker.js │ │ └── vite-plugin-next-react-router │ │ │ ├── index.js │ │ │ └── package.json │ ├── public │ │ └── mockServiceWorker.js │ ├── server.go │ ├── src │ │ ├── App.tsx │ │ ├── assets │ │ │ └── logo.png │ │ ├── components │ │ │ ├── CreateOrUpdateSource │ │ │ │ └── index.tsx │ │ │ ├── CreateOrUpdateTask │ │ │ │ ├── BasicInfo.tsx │ │ │ │ ├── CreateTaskEditorMode.tsx │ │ │ │ ├── EventFilter.tsx │ │ │ │ ├── MigrateRule.tsx │ │ │ │ ├── SourceInfo.tsx │ │ │ │ ├── TargetInfo.tsx │ │ │ │ ├── index.tsx │ │ │ │ └── shared.tsx │ │ │ └── SimpleTaskPanel │ │ │ │ ├── TaskUnitTag.tsx │ │ │ │ └── index.tsx │ │ ├── i18n.ts │ │ ├── layouts │ │ │ ├── Header.tsx │ │ │ └── SiderMenu.tsx │ │ ├── main.tsx │ │ ├── models │ │ │ ├── api.ts │ │ │ ├── cluster.ts │ │ │ ├── global.ts │ │ │ ├── index.ts │ │ │ ├── source.ts │ │ │ └── task.ts │ │ ├── pages │ │ │ ├── _layout.tsx │ │ │ ├── cluster │ │ │ │ └── member.tsx │ │ │ ├── index.tsx │ │ │ └── migration │ │ │ │ ├── replication-detail.tsx │ │ │ │ ├── source.tsx │ │ │ │ └── task │ │ │ │ ├── create.tsx │ │ │ │ ├── edit.tsx │ │ │ │ └── index.tsx │ │ ├── theme.less │ │ ├── uikit │ │ │ ├── icons.tsx │ │ │ ├── index.tsx │ │ │ └── message.tsx │ │ └── utils │ │ │ ├── isEmptyObject.ts │ │ │ ├── search.ts │ │ │ ├── sleep.ts │ │ │ └── unimplemented.ts │ ├── tsconfig.json │ ├── vite.config.js │ └── yarn.lock ├── unit │ ├── unit.go │ └── unit_test.go └── worker │ ├── OWNERS │ ├── config.go │ ├── config_test.go │ ├── dm-worker.toml │ ├── hub.go │ ├── hub_test.go │ ├── join.go │ ├── metrics.go │ ├── relay.go │ ├── relay_test.go │ ├── server.go │ ├── server_test.go │ ├── source.yaml │ ├── source_worker.go │ ├── source_worker_test.go │ ├── status.go │ ├── subtask.go │ ├── subtask.toml │ ├── subtask_holder.go │ ├── subtask_test.go │ ├── task_checker.go │ ├── task_checker_test.go │ ├── utils.go │ ├── utils_test.go │ └── v1meta.go ├── docs ├── .gitignore ├── .prettierignore ├── RFCS │ └── 20230320_ddl_block_related_table.md ├── actor-system-poll-sequence.svg ├── actor-system-sequence.wsd ├── actor-system.svg ├── actor-system.wsd ├── ci │ └── command.md ├── data-flow.dot ├── data-flow.svg ├── design │ ├── 2020-02-24-ticdc-mq-protocol-cn.md │ ├── 2020-03-04-ticdc-design-and-architecture-cn.md │ ├── 2020-03-25-ticdc-high-availability-new-design-cn.md │ ├── 2020-04-13-ticdc-auto-gc-safepoint-1-cn.md │ ├── 2020-04-13-ticdc-auto-gc-safepoint-2-cn.md │ ├── 2020-07-16-ticdc-avro-protocol-design.md │ ├── 2020-11-04-ticdc-protocol-list.md │ ├── 2021-10-13-ticdc-mq-sink-column-selector.md │ ├── 2022-01-20-ticdc-mq-sink-multiple-topics.md │ ├── 2022-03-16-ticdc-db-sorter.md │ ├── 2022-05-12-ticdc-avro-protocol-refactor.md │ ├── 2023-03-15-ticdc-storage-sink.md │ ├── 2023-07-04-ticdc-pulsar-sink.md │ ├── 2024-01-05-ticdc-simplify-sink-mysql-timezone.md │ ├── 2024-01-22-ticdc-large-txn-not-block-wm.md │ ├── README.md │ └── TEMPLATE.md ├── distributed-scheduling.md ├── media │ ├── capture_architecture.png │ ├── cdc-timezone.png │ ├── cdc_architecture.svg │ ├── chunkqueue_design.jpg │ ├── dashboard │ │ ├── changefeed-1.png │ │ ├── changefeed-2.png │ │ ├── changefeed-3.png │ │ ├── changefeed-4.png │ │ ├── events-1.png │ │ ├── events-2.png │ │ ├── events-3.png │ │ ├── events-4.png │ │ ├── overview.png │ │ ├── server.png │ │ ├── tikv-1.png │ │ ├── tikv-2.png │ │ ├── unified-sorter-1.png │ │ └── unified-sorter-2.png │ ├── db-sorter-class.svg │ ├── db-sorter-sequence.svg │ ├── ddl_block_related_table_1.png │ ├── ddl_block_related_table_2.png │ ├── ha-image1.png │ ├── ha-image2.png │ ├── ha-image3.png │ ├── ha-image4.png │ ├── ha-image5.png │ ├── ha-image6.png │ ├── ha-image7.png │ ├── large-txn-no-block-wm-1.png │ ├── large-txn-no-block-wm-2.png │ ├── large-txn-no-block-wm-3.png │ ├── large-txn-no-block-wm-4.png │ ├── large-txn-no-block-wm-5.png │ ├── large-txn-no-block-wm-6.png │ ├── large-txn-no-block-wm-7.png │ ├── large-txn-no-block-wm-8.png │ ├── scheduling_proto.svg │ ├── scheduling_proto_owner_change.svg │ └── tikv_cdc_stream_init.png ├── package-lock.json ├── package.json ├── scheduling_proto.puml ├── scheduling_proto_owner_change.puml ├── ticdc-gc-safepoint.svg ├── ticdc-gc-safepoint.wsd └── ticdc-grafana-dashboard.md ├── engine ├── OWNERS ├── chaos │ ├── cases │ │ ├── case_dm_job.go │ │ ├── case_fake_job.go │ │ ├── cases.go │ │ ├── conf │ │ │ └── dmjob.yaml │ │ ├── config.go │ │ ├── dm │ │ │ ├── case.go │ │ │ └── db.go │ │ └── main.go │ ├── manifests │ │ ├── Dockerfile │ │ ├── cases.yaml │ │ ├── kind-cluster.yaml │ │ ├── network-emulation-dataflow.yaml │ │ ├── network-partition-dataflow.yaml │ │ ├── pod-failure-dataflow.yaml │ │ ├── pod-kill-dataflow.yaml │ │ └── time-shift-dataflow.yaml │ └── scripts │ │ └── check-case.sh ├── enginepb │ ├── datarw.pb.go │ ├── datarw_grpc.pb.go │ ├── executor.pb.go │ ├── executor_grpc.pb.go │ ├── hide_sensitive.go │ ├── hide_sensitive_test.go │ ├── master.pb.go │ ├── master.pb.gw.go │ ├── master_grpc.pb.go │ ├── mock │ │ ├── broker_mock.go │ │ ├── executor_mock.go │ │ └── resource_mock.go │ ├── projects.pb.go │ ├── resources.pb.go │ ├── resources_grpc.pb.go │ ├── test.pb.go │ └── test_grpc.pb.go ├── executor │ ├── README.md │ ├── config.go │ ├── config_test.go │ ├── cvs │ │ └── cvstask.go │ ├── dm │ │ ├── api.go │ │ ├── api_test.go │ │ ├── main_test.go │ │ ├── unitholder.go │ │ ├── unitholder_test.go │ │ ├── worker.go │ │ └── worker_test.go │ ├── fakejob │ │ ├── register.go │ │ └── worker.go │ ├── init.go │ ├── main_test.go │ ├── metrics.go │ ├── openapi.go │ ├── openapi_test.go │ ├── server.go │ ├── server │ │ ├── main_test.go │ │ ├── metastore.go │ │ ├── metastore_test.go │ │ └── mock │ │ │ └── metastore_mock.go │ ├── server_test.go │ └── worker │ │ ├── ctx.go │ │ ├── ctx_test.go │ │ ├── internal │ │ ├── info.go │ │ └── runnables.go │ │ ├── main_test.go │ │ ├── task_committer.go │ │ ├── task_committer_test.go │ │ ├── task_runner.go │ │ ├── task_runner_test.go │ │ └── test_util.go ├── framework │ ├── base_jobmaster.go │ ├── base_jobmaster_test.go │ ├── common.go │ ├── config │ │ ├── main_test.go │ │ ├── timeouts.go │ │ └── timeouts_test.go │ ├── doc │ │ ├── create_worker.puml │ │ ├── interaction.puml │ │ ├── master_flow.puml │ │ └── worker_entry_fsm.puml │ ├── internal │ │ ├── errors │ │ │ ├── fail_fast.go │ │ │ ├── fail_fast_test.go │ │ │ └── main_test.go │ │ ├── eventloop │ │ │ ├── interfaces.go │ │ │ ├── main_test.go │ │ │ ├── runner.go │ │ │ └── runner_test.go │ │ ├── master │ │ │ ├── events.go │ │ │ ├── main_test.go │ │ │ ├── mock_handle.go │ │ │ ├── worker_creator.go │ │ │ ├── worker_creator_test.go │ │ │ ├── worker_entry.go │ │ │ ├── worker_handle.go │ │ │ ├── worker_manager.go │ │ │ └── worker_manager_test.go │ │ └── worker │ │ │ ├── main_test.go │ │ │ ├── master_client.go │ │ │ ├── master_client_test.go │ │ │ └── master_info.go │ ├── logutil │ │ ├── main_test.go │ │ ├── util.go │ │ └── util_test.go │ ├── main_test.go │ ├── master.go │ ├── master_test.go │ ├── message_router.go │ ├── message_router_test.go │ ├── metadata │ │ ├── main_test.go │ │ ├── metadata.go │ │ └── metadata_test.go │ ├── mock_master_impl.go │ ├── mock_master_util.go │ ├── mock_worker_impl.go │ ├── mock_worker_util.go │ ├── model │ │ ├── main_test.go │ │ ├── master.go │ │ ├── master_test.go │ │ ├── messages.go │ │ ├── typedefs.go │ │ ├── typedefs_test.go │ │ ├── worker.go │ │ └── worker_test.go │ ├── registry │ │ ├── factory.go │ │ ├── factory_test.go │ │ ├── globals.go │ │ ├── main_test.go │ │ ├── registry.go │ │ ├── registry_test.go │ │ └── utils.go │ ├── statusutil │ │ ├── main_test.go │ │ ├── message.go │ │ ├── writer.go │ │ └── writer_test.go │ ├── taskutil │ │ └── compat.go │ ├── worker.go │ └── worker_test.go ├── internal │ └── pkg │ │ └── discovery │ │ ├── agent.go │ │ └── agent_test.go ├── jobmaster │ ├── cvsjob │ │ ├── cvs_job_master.go │ │ └── cvs_job_master_test.go │ ├── dm │ │ ├── api.go │ │ ├── api_test.go │ │ ├── bootstrap │ │ │ ├── upgrade.go │ │ │ └── upgrade_test.go │ │ ├── checkpoint │ │ │ ├── agent.go │ │ │ ├── agent_test.go │ │ │ └── main_test.go │ │ ├── config │ │ │ ├── config.go │ │ │ ├── config_test.go │ │ │ ├── dm_subtask_3306.toml │ │ │ ├── dm_subtask_3307.toml │ │ │ ├── job_template.yaml │ │ │ └── main_test.go │ │ ├── ddl_coordinator.go │ │ ├── ddl_coordinator_test.go │ │ ├── dm_jobmaster.go │ │ ├── dm_jobmaster_test.go │ │ ├── main_test.go │ │ ├── metadata │ │ │ ├── cluster_info.go │ │ │ ├── cluster_info_test.go │ │ │ ├── ddl.go │ │ │ ├── ddl_test.go │ │ │ ├── job.go │ │ │ ├── job_test.go │ │ │ ├── main_test.go │ │ │ ├── metadata.go │ │ │ ├── state.go │ │ │ ├── state_test.go │ │ │ ├── unit_state.go │ │ │ └── unit_state_test.go │ │ ├── openapi.go │ │ ├── openapi │ │ │ ├── gen.server.go │ │ │ ├── gen.types.go │ │ │ └── spec │ │ │ │ ├── dm.yaml │ │ │ │ ├── server-gen-cfg.yaml │ │ │ │ └── types-gen-cfg.yaml │ │ ├── openapi_test.go │ │ ├── runtime │ │ │ ├── main_test.go │ │ │ ├── task_status.go │ │ │ ├── task_status_test.go │ │ │ ├── worker_status.go │ │ │ └── worker_status_test.go │ │ ├── task_manager.go │ │ ├── task_manager_test.go │ │ ├── utils.go │ │ ├── worker_manager.go │ │ └── worker_manager_test.go │ ├── example │ │ ├── master_impl.go │ │ ├── master_impl_test.go │ │ ├── worker_impl.go │ │ └── worker_impl_test.go │ └── fakejob │ │ ├── job_master.go │ │ └── register.go ├── model │ ├── cluster.go │ ├── job.go │ ├── job_test.go │ └── main_test.go ├── pkg │ ├── adapter │ │ └── keyadapter.go │ ├── client │ │ ├── broker_service_client.go │ │ ├── broker_service_client_test.go │ │ ├── client_mock.go │ │ ├── discovery_client.go │ │ ├── executor_client.go │ │ ├── executor_client_test.go │ │ ├── executor_group.go │ │ ├── executor_group_test.go │ │ ├── executor_service_client.go │ │ ├── executor_service_client_test.go │ │ ├── internal │ │ │ ├── call.go │ │ │ ├── call_test.go │ │ │ ├── endpoint │ │ │ │ └── endpoint.go │ │ │ ├── leader_resolver.go │ │ │ ├── leader_resolver_test.go │ │ │ └── main_test.go │ │ ├── main_test.go │ │ ├── mock_executor_group.go │ │ ├── resource_manager_client.go │ │ ├── resource_manager_client_test.go │ │ ├── server_master_client.go │ │ ├── task_scheduler_client.go │ │ └── test_util.go │ ├── clock │ │ └── clock.go │ ├── cmd │ │ ├── cli │ │ │ ├── cli.go │ │ │ ├── cli_job.go │ │ │ ├── cli_job_cancel.go │ │ │ ├── cli_job_create.go │ │ │ └── cli_job_query.go │ │ ├── cmd.go │ │ ├── executor │ │ │ └── executor.go │ │ ├── master │ │ │ └── master.go │ │ ├── util │ │ │ └── helper.go │ │ └── version │ │ │ └── version.go │ ├── containers │ │ ├── main_test.go │ │ ├── slice_queue.go │ │ └── slice_queue_test.go │ ├── context │ │ └── context.go │ ├── ctxmu │ │ ├── LICENSE │ │ └── ctxmu.go │ ├── dbutil │ │ ├── config.go │ │ └── util.go │ ├── deps │ │ ├── deps.go │ │ ├── deps_test.go │ │ └── main_test.go │ ├── dm │ │ ├── main_test.go │ │ ├── message_agent.go │ │ ├── message_agent_test.go │ │ ├── mock_message_agent.go │ │ ├── ticker │ │ │ ├── main_test.go │ │ │ ├── ticker.go │ │ │ └── ticker_test.go │ │ ├── topic.go │ │ └── topic_test.go │ ├── errctx │ │ ├── center.go │ │ ├── center_test.go │ │ ├── ctx.go │ │ └── main_test.go │ ├── externalresource │ │ ├── broker │ │ │ ├── broker.go │ │ │ ├── broker_integration_test.go │ │ │ ├── broker_test.go │ │ │ ├── interfaces.go │ │ │ ├── main_test.go │ │ │ ├── mock_broker.go │ │ │ ├── storage_handle.go │ │ │ └── storage_handle_test.go │ │ ├── integration_test │ │ │ ├── cluster_stub.go │ │ │ ├── gc_test.go │ │ │ └── mock_cluster.go │ │ ├── internal │ │ │ ├── bucket │ │ │ │ ├── file_manager.go │ │ │ │ ├── file_manager_integration_test.go │ │ │ │ ├── file_manager_test.go │ │ │ │ ├── file_path_util.go │ │ │ │ ├── main_test.go │ │ │ │ ├── resource_controller.go │ │ │ │ ├── resource_controller_test.go │ │ │ │ ├── resource_desc.go │ │ │ │ ├── s3_dummy_resouce.go │ │ │ │ ├── s3_test_utils.go │ │ │ │ └── storage_creator.go │ │ │ ├── file_manager.go │ │ │ ├── local │ │ │ │ ├── file_manager.go │ │ │ │ ├── file_manager_test.go │ │ │ │ ├── file_utils.go │ │ │ │ ├── main_test.go │ │ │ │ ├── resource_controller.go │ │ │ │ ├── resource_controller_test.go │ │ │ │ └── resource_desc.go │ │ │ ├── resource_controller.go │ │ │ └── resource_desc.go │ │ ├── manager │ │ │ ├── gc_coordinator.go │ │ │ ├── gc_coordinator_test.go │ │ │ ├── gc_runner.go │ │ │ ├── gc_runner_test.go │ │ │ ├── interfaces.go │ │ │ ├── main_test.go │ │ │ ├── mock_client.go │ │ │ ├── service.go │ │ │ ├── service_test.go │ │ │ └── test_utils.go │ │ └── model │ │ │ ├── config.go │ │ │ ├── config_test.go │ │ │ ├── main_test.go │ │ │ ├── model.go │ │ │ └── model_test.go │ ├── fakejob │ │ └── status.go │ ├── httputil │ │ ├── job_client.go │ │ └── mock │ │ │ ├── jobhttpclient_mock.go │ │ │ └── jobhttpclient_simple_mock.go │ ├── meta │ │ ├── client.go │ │ ├── client_test.go │ │ ├── connection.go │ │ ├── connection_test.go │ │ ├── example_test.go │ │ ├── internal │ │ │ ├── etcdkv │ │ │ │ ├── builder.go │ │ │ │ ├── connection.go │ │ │ │ ├── connection_test.go │ │ │ │ ├── etcd_impl.go │ │ │ │ ├── etcd_impl_test.go │ │ │ │ ├── main_test.go │ │ │ │ ├── mock.go │ │ │ │ ├── mock_test.go │ │ │ │ ├── model │ │ │ │ │ └── interfaces.go │ │ │ │ ├── namespace │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── kv.go │ │ │ │ │ ├── kv_test.go │ │ │ │ │ ├── main_test.go │ │ │ │ │ ├── util.go │ │ │ │ │ └── util_test.go │ │ │ │ └── util.go │ │ │ ├── interfaces.go │ │ │ ├── main_test.go │ │ │ ├── mockkv │ │ │ │ └── builder.go │ │ │ ├── registry.go │ │ │ ├── registry_test.go │ │ │ └── sqlkv │ │ │ │ ├── builder.go │ │ │ │ ├── connection.go │ │ │ │ ├── model │ │ │ │ └── model.go │ │ │ │ ├── namespace │ │ │ │ └── util.go │ │ │ │ ├── sql_impl.go │ │ │ │ ├── sql_impl_test.go │ │ │ │ └── util.go │ │ ├── main_test.go │ │ ├── mock │ │ │ ├── client_mock.go │ │ │ ├── clientconn_mock.go │ │ │ ├── main_test.go │ │ │ ├── simple_mockclient.go │ │ │ └── simple_mockclient_test.go │ │ ├── model │ │ │ ├── common.go │ │ │ ├── common_test.go │ │ │ ├── config.go │ │ │ ├── config_test.go │ │ │ ├── interfaces.go │ │ │ ├── main_test.go │ │ │ ├── op.go │ │ │ └── op_test.go │ │ ├── util.go │ │ └── util_test.go │ ├── notifier │ │ ├── main_test.go │ │ ├── notifier.go │ │ └── notifier_test.go │ ├── openapi │ │ ├── apiv1.swagger.json │ │ ├── common.go │ │ └── swagger.go │ ├── orm │ │ ├── client.go │ │ ├── client_test.go │ │ ├── config.go │ │ ├── log.go │ │ ├── log_test.go │ │ ├── main_test.go │ │ ├── mock.go │ │ ├── mock │ │ │ └── client_mock.go │ │ ├── mock_test.go │ │ ├── model │ │ │ ├── common.go │ │ │ ├── executor.go │ │ │ ├── executor_test.go │ │ │ ├── jobop.go │ │ │ ├── logic_epoch.go │ │ │ ├── logic_epoch_test.go │ │ │ ├── main_test.go │ │ │ └── project.go │ │ ├── util.go │ │ └── util_test.go │ ├── p2p │ │ ├── main_test.go │ │ ├── message_handler_manager.go │ │ ├── message_handler_manager_test.go │ │ ├── message_sender.go │ │ ├── mock_message_handler_manager.go │ │ ├── mock_message_handler_manager_test.go │ │ ├── mock_message_sender.go │ │ ├── mock_message_sender_test.go │ │ ├── server.go │ │ └── server_integration_test.go │ ├── promutil │ │ ├── factory.go │ │ ├── implement_test.go │ │ ├── main_test.go │ │ ├── plain.go │ │ ├── registry.go │ │ ├── registry_test.go │ │ ├── test │ │ │ ├── Makefile │ │ │ └── multiprojects_metric_scences.go │ │ ├── util.go │ │ ├── util_inner.go │ │ ├── util_inner_test.go │ │ └── wrapping.go │ ├── quota │ │ ├── concurrency_quota.go │ │ ├── concurrency_quota_test.go │ │ └── main_test.go │ ├── rpcutil │ │ ├── checker.go │ │ ├── main_test.go │ │ ├── middleware.go │ │ ├── middleware_test.go │ │ └── mock │ │ │ └── checker_mock.go │ └── tenant │ │ └── tenant.go ├── proto │ ├── datarw.proto │ ├── executor.proto │ ├── master.proto │ ├── projects.proto │ ├── resources.proto │ └── test.proto ├── servermaster │ ├── README.md │ ├── config.go │ ├── config_test.go │ ├── executor_manager.go │ ├── executor_manager_test.go │ ├── http.go │ ├── http_test.go │ ├── job_fsm.go │ ├── job_fsm_test.go │ ├── jobmanager.go │ ├── jobmanager_test.go │ ├── jobop │ │ ├── backoff.go │ │ ├── backoff_manager.go │ │ ├── backoff_manager_test.go │ │ ├── backoff_test.go │ │ ├── config.go │ │ ├── mock │ │ │ ├── backoffmanager_mock.go │ │ │ └── joboperator_mock.go │ │ ├── operator.go │ │ └── operator_test.go │ ├── main_test.go │ ├── metastore_manager.go │ ├── metastore_manager_test.go │ ├── metrics.go │ ├── scheduler │ │ ├── executor_info_provider.go │ │ ├── filter.go │ │ ├── main_test.go │ │ ├── model │ │ │ ├── executor_info.go │ │ │ ├── main_test.go │ │ │ └── request.go │ │ ├── resource_filter.go │ │ ├── resource_filter_test.go │ │ ├── scheduler.go │ │ ├── scheduler_test.go │ │ ├── selector_filter.go │ │ └── selector_filter_test.go │ ├── server.go │ ├── server_test.go │ ├── serverutil │ │ ├── watch_executors.go │ │ └── watch_executors_test.go │ ├── service_util.go │ └── service_util_test.go └── test │ ├── e2e │ ├── dm-job.yaml │ ├── docker.json │ ├── e2e_dm_test.go │ ├── e2e_node_chaos_test.go │ ├── e2e_test.go │ ├── e2e_test_cli.go │ └── e2e_worker_exit_test.go │ ├── integration_tests │ ├── README.md │ ├── dm_basic │ │ └── run.sh │ ├── dm_case_sensitive │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── job.yaml │ │ ├── data │ │ │ ├── db1.prepare.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── dm_collation │ │ ├── conf │ │ │ └── job.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── dm_dump_sync_mode │ │ └── run.sh │ ├── dm_full_mode │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── job.yaml │ │ ├── data │ │ │ └── db1.prepare.sql │ │ └── run.sh │ ├── dm_lightning_checkpoint │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── job.yaml │ │ │ └── job2.yaml │ │ ├── data │ │ │ ├── db1.prepare.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── dm_many_tables │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── job.yaml │ │ └── run.sh │ ├── dm_many_tables_local │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── job.yaml │ │ └── run.sh │ ├── dm_new_collation_off │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── job.yaml │ │ ├── data │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── dm_sql_mode │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── job.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ ├── db2.prepare.sql │ │ │ ├── timezone.America-Phoenix.sql │ │ │ └── timezone.Asia-Shanghai.sql │ │ └── run.sh │ ├── dm_tls │ │ ├── conf │ │ │ └── job.yaml │ │ ├── data │ │ │ ├── db1.increment.sql │ │ │ ├── db1.prepare.sql │ │ │ ├── db2.increment.sql │ │ │ └── db2.prepare.sql │ │ └── run.sh │ ├── e2e_fast_finished │ │ ├── conf │ │ │ ├── fake_job_fast_0.json │ │ │ ├── fake_job_fast_1.json │ │ │ └── fake_job_fast_100.json │ │ └── run.sh │ ├── e2e_node_failure │ │ └── run.sh │ ├── e2e_with_selectors │ │ ├── conf │ │ │ └── fake_job.json │ │ └── run.sh │ ├── e2e_worker_error │ │ └── run.sh │ ├── external_resource │ │ └── run.sh │ ├── run.sh │ └── run_group.sh │ ├── mock │ ├── grpc.go │ └── test_server.go │ └── utils │ ├── adjust_config │ ├── check_case.sh │ ├── check_log.sh │ ├── check_sync_diff │ ├── create_job │ ├── exec_with_retry │ ├── generate_cert │ ├── run_engine.sh │ ├── run_sql │ ├── run_sql_file │ ├── start_engine_cluster │ ├── stop_engine_cluster │ └── wait_mysql_online.sh ├── errors.toml ├── examples ├── golang │ ├── avro-checksum-verification │ │ ├── README.md │ │ ├── go.mod │ │ ├── go.sum │ │ └── main.go │ └── canal-json-handle-key-only │ │ ├── README.md │ │ ├── go.mod │ │ ├── go.sum │ │ └── main.go └── java │ ├── .gitignore │ ├── README.md │ ├── pom.xml │ └── src │ ├── main │ ├── java │ │ ├── SimpleAvroConsumerExample.java │ │ └── com │ │ │ └── pingcap │ │ │ └── ticdc │ │ │ └── cdc │ │ │ ├── KafkaMessage.java │ │ │ ├── TicdcEventData.java │ │ │ ├── TicdcEventDecoder.java │ │ │ ├── TicdcEventFilter.java │ │ │ ├── key │ │ │ └── TicdcEventKey.java │ │ │ └── value │ │ │ ├── TicdcEventBase.java │ │ │ ├── TicdcEventColumn.java │ │ │ ├── TicdcEventDDL.java │ │ │ ├── TicdcEventResolve.java │ │ │ ├── TicdcEventRowChange.java │ │ │ └── TicdcEventType.java │ └── resources │ │ ├── logback.xml │ │ └── schema.avsc │ └── test │ ├── java │ └── com │ │ └── pingcap │ │ └── ticdc │ │ └── cdc │ │ └── TicdcEventDecoderTest.java │ └── resources │ └── data │ ├── key │ ├── ddl_key_0 │ ├── ddl_key_1 │ ├── ddl_key_2 │ ├── row_key_0 │ ├── row_key_1 │ ├── row_key_2 │ ├── rts_key_0 │ ├── rts_key_1 │ └── rts_key_2 │ └── value │ ├── ddl_value_0 │ ├── ddl_value_1 │ ├── ddl_value_2 │ ├── row_value_0 │ ├── row_value_1 │ ├── row_value_2 │ ├── rts_value_0 │ ├── rts_value_1 │ └── rts_value_2 ├── go.mod ├── go.sum ├── metrics ├── alertmanager │ └── ticdc.rules.yml └── grafana │ ├── DM-Monitor-Professional.json │ ├── DM-Monitor-Standard.json │ ├── TiCDC-Monitor-Summary.json │ ├── ticdc.json │ └── tiflow.json ├── pkg ├── api │ ├── internal │ │ └── rest │ │ │ ├── client.go │ │ │ ├── client_test.go │ │ │ ├── config.go │ │ │ ├── config_test.go │ │ │ ├── request.go │ │ │ └── request_test.go │ └── v2 │ │ ├── api_client.go │ │ ├── capture.go │ │ ├── changefeed.go │ │ ├── mock │ │ ├── capture_mock.go │ │ ├── changefeed_mock.go │ │ ├── processor_mock.go │ │ ├── status_mock.go │ │ ├── tso_mock.go │ │ └── unsafe_mock.go │ │ ├── processor.go │ │ ├── status.go │ │ ├── tso.go │ │ └── unsafe.go ├── applier │ ├── main_test.go │ ├── redo.go │ └── redo_test.go ├── binlog-filter │ ├── filter.go │ ├── filter_test.go │ └── util.go ├── causality │ ├── conflict_detector.go │ ├── internal │ │ ├── main_test.go │ │ ├── node.go │ │ ├── node_test.go │ │ ├── slots.go │ │ └── slots_test.go │ ├── tests │ │ ├── driver.go │ │ ├── integration_test.go │ │ ├── main_test.go │ │ ├── worker.go │ │ └── workload.go │ ├── txn_cache.go │ └── txn_cache_test.go ├── chann │ ├── LICENSE │ ├── chann.go │ ├── chann_test.go │ ├── drainable_chann.go │ ├── drainable_chann_test.go │ └── main_test.go ├── chdelay │ ├── channel_delayer.go │ └── channel_delayer_test.go ├── check │ ├── cluster.go │ └── cluster_test.go ├── cmd │ ├── cli │ │ ├── cli.go │ │ ├── cli_capture.go │ │ ├── cli_capture_list.go │ │ ├── cli_capture_list_test.go │ │ ├── cli_changefeed.go │ │ ├── cli_changefeed_create.go │ │ ├── cli_changefeed_create_test.go │ │ ├── cli_changefeed_helper.go │ │ ├── cli_changefeed_helper_test.go │ │ ├── cli_changefeed_list.go │ │ ├── cli_changefeed_list_test.go │ │ ├── cli_changefeed_pause.go │ │ ├── cli_changefeed_pause_test.go │ │ ├── cli_changefeed_query.go │ │ ├── cli_changefeed_query_test.go │ │ ├── cli_changefeed_remove.go │ │ ├── cli_changefeed_remove_test.go │ │ ├── cli_changefeed_resume.go │ │ ├── cli_changefeed_resume_test.go │ │ ├── cli_changefeed_statistics.go │ │ ├── cli_changefeed_update.go │ │ ├── cli_changefeed_update_test.go │ │ ├── cli_configure_credentials.go │ │ ├── cli_processor.go │ │ ├── cli_processor_list.go │ │ ├── cli_processor_list_test.go │ │ ├── cli_processor_query.go │ │ ├── cli_processor_query_test.go │ │ ├── cli_processor_test.go │ │ ├── cli_test.go │ │ ├── cli_tso.go │ │ ├── cli_tso_query.go │ │ ├── cli_unsafe.go │ │ ├── cli_unsafe_delete_service_gc_safepoint.go │ │ ├── cli_unsafe_reset.go │ │ ├── cli_unsafe_resolve_lock.go │ │ ├── cli_unsafe_resolve_lock_test.go │ │ ├── cli_unsafe_show_metadata.go │ │ ├── cli_unsafe_show_metadata_test.go │ │ └── main_test.go │ ├── cmd.go │ ├── context │ │ └── context.go │ ├── factory │ │ ├── factory.go │ │ ├── factory_impl.go │ │ ├── factory_impl_test.go │ │ └── mock │ │ │ └── factory_mock.go │ ├── redo │ │ ├── apply.go │ │ ├── apply_test.go │ │ ├── meta.go │ │ └── redo.go │ ├── server │ │ ├── main_test.go │ │ ├── server.go │ │ └── server_test.go │ ├── util │ │ ├── OWNERS │ │ ├── changefeed.toml │ │ ├── changefeed_storage_sink.toml │ │ ├── helper.go │ │ ├── helper_test.go │ │ ├── main_test.go │ │ └── ticdc.toml │ └── version │ │ └── version.go ├── column-mapping │ ├── column.go │ └── column_test.go ├── compression │ └── compress.go ├── config │ ├── OWNERS │ ├── cdc_v2.go │ ├── cdc_v2_test.go │ ├── config_test_data.go │ ├── consistent.go │ ├── db.go │ ├── debug.go │ ├── filter.go │ ├── kvclient.go │ ├── large_message.go │ ├── large_message_test.go │ ├── main_test.go │ ├── messages.go │ ├── messages_test.go │ ├── mounter.go │ ├── outdated │ │ └── v1.go │ ├── replica_config.go │ ├── replica_config_test.go │ ├── scheduler_config.go │ ├── server_config.go │ ├── server_config_test.go │ ├── sink.go │ ├── sink_protocol.go │ ├── sink_protocol_test.go │ ├── sink_test.go │ ├── sorter.go │ └── synced_status_config.go ├── container │ ├── README.md │ ├── queue │ │ ├── chunk.go │ │ ├── chunkqueue.go │ │ ├── chunkqueue_test.go │ │ ├── iterator.go │ │ └── iterator_test.go │ └── sortmap │ │ ├── sort.go │ │ └── sort_test.go ├── ddl │ ├── util.go │ └── util_test.go ├── diff │ ├── README.md │ ├── checkpoint.go │ ├── checkpoint_test.go │ ├── chunk.go │ ├── chunk_test.go │ ├── diff.go │ ├── diff_test.go │ ├── merge.go │ ├── merge_test.go │ ├── spliter_test.go │ ├── util.go │ └── util_test.go ├── election │ ├── config.go │ ├── config_test.go │ ├── elector.go │ ├── elector_test.go │ ├── mock │ │ ├── elector_mock.go │ │ └── storage_mock.go │ ├── storage.go │ ├── storage_orm.go │ ├── storage_orm_test.go │ ├── storage_sql.go │ ├── storage_sql_test.go │ └── storage_test.go ├── errors │ ├── cdc_errors.go │ ├── engine_errors.go │ ├── helper.go │ ├── helper_test.go │ ├── main_test.go │ ├── reexport.go │ ├── reflect.go │ └── reflect_test.go ├── errorutil │ ├── util.go │ └── util_test.go ├── etcd │ ├── client.go │ ├── client_test.go │ ├── etcd.go │ ├── etcd_test.go │ ├── etcdkey.go │ ├── etcdkey_test.go │ ├── main_test.go │ ├── metrics.go │ ├── mock │ │ └── etcd_client_mock.go │ ├── testing.go │ ├── util.go │ └── util_test.go ├── filter │ ├── expr_filter.go │ ├── expr_filter_bench_test.go │ ├── expr_filter_test.go │ ├── filter.go │ ├── filter_test.go │ ├── filter_test_helper.go │ ├── main_test.go │ ├── sql_event_filter.go │ ├── sql_event_filter_test.go │ ├── utils.go │ └── utils_test.go ├── flags │ ├── main_test.go │ ├── urls.go │ └── urls_test.go ├── fsutil │ ├── disk_info_freebsd.go │ ├── disk_info_generic.go │ ├── fadvise_linux.go │ ├── fadvise_other.go │ ├── fadvise_test.go │ ├── file_allocator.go │ ├── file_allocator_test.go │ ├── filelock.go │ ├── filelock_test.go │ ├── fileutil.go │ ├── fileutil_test.go │ ├── main_test.go │ ├── preallocate_linux.go │ ├── preallocate_other.go │ └── preallocate_test.go ├── hash │ ├── position_inertia.go │ └── position_inertia_test.go ├── httputil │ ├── _certificates │ │ ├── ca.pem │ │ ├── client-key.pem │ │ ├── client.pem │ │ ├── server-key.pem │ │ └── server.pem │ ├── httputil.go │ ├── httputil_test.go │ ├── main_test.go │ └── testing.go ├── importer │ ├── config.go │ ├── data.go │ ├── db.go │ ├── importer.go │ ├── job.go │ ├── parser.go │ └── rand.go ├── integrity │ ├── checksum.go │ └── integrity.go ├── label │ ├── label.go │ ├── label_test.go │ ├── selector.go │ └── selector_test.go ├── leakutil │ ├── leak_helper.go │ └── leak_helper_test.go ├── logutil │ ├── context.go │ ├── context_test.go │ ├── log.go │ ├── log_test.go │ ├── sensitive.go │ └── sensitive_test.go ├── migrate │ ├── migrate.go │ └── migrate_test.go ├── notify │ ├── main_test.go │ ├── notify.go │ └── notify_test.go ├── orchestrator │ ├── batch.go │ ├── batch_test.go │ ├── doc.go │ ├── etcd_worker.go │ ├── etcd_worker_bank_test.go │ ├── etcd_worker_test.go │ ├── interfaces.go │ ├── main_test.go │ ├── metrics.go │ ├── reactor_state.go │ ├── reactor_state_test.go │ ├── reactor_state_tester.go │ └── util │ │ ├── key_utils.go │ │ └── key_utils_test.go ├── p2p │ ├── client.go │ ├── client_batch_sender.go │ ├── client_batch_sender_test.go │ ├── client_connector.go │ ├── client_connector_test.go │ ├── grpc_client.go │ ├── grpc_client_test.go │ ├── internal │ │ ├── send_chan.go │ │ └── send_chan_test.go │ ├── main_test.go │ ├── message_router.go │ ├── message_router_test.go │ ├── metrics.go │ ├── mock_cluster.go │ ├── mock_grpc_client.go │ ├── model.go │ ├── serializer.go │ ├── serializer_test.go │ ├── server.go │ ├── server_ack_manager.go │ ├── server_ack_manager_test.go │ ├── server_client_integration_test.go │ ├── server_stream_handle.go │ ├── server_stream_handle_test.go │ ├── server_test.go │ ├── server_wrapper.go │ └── server_wrapper_test.go ├── pdutil │ ├── api_client.go │ ├── api_client_test.go │ ├── clock.go │ ├── clock_test.go │ ├── main_test.go │ ├── utils.go │ └── utils_test.go ├── quotes │ ├── main_test.go │ ├── quotes.go │ └── quotes_test.go ├── redo │ ├── config.go │ └── config_test.go ├── retry │ ├── error_retry.go │ ├── error_retry_test.go │ ├── main_test.go │ ├── options.go │ ├── retry_test.go │ └── retry_with_opt.go ├── security │ ├── credential.go │ ├── credential_test.go │ ├── sasl.go │ ├── sasl_test.go │ ├── scram_client.go │ └── test_util.go ├── sink │ ├── cloudstorage │ │ ├── config.go │ │ ├── config_test.go │ │ ├── main_test.go │ │ ├── path.go │ │ ├── path_key.go │ │ ├── path_key_test.go │ │ ├── path_test.go │ │ ├── table_definition.go │ │ └── table_definition_test.go │ ├── codec │ │ ├── avro │ │ │ ├── avro.go │ │ │ ├── avro_test.go │ │ │ ├── confluent_schema_registry.go │ │ │ ├── confluent_schema_registry_test.go │ │ │ ├── decoder.go │ │ │ ├── glue_client.go │ │ │ ├── glue_schema_registry.go │ │ │ ├── glue_schema_registry_test.go │ │ │ ├── mock_schema_registry.go │ │ │ └── schema_manager.go │ │ ├── bootstraper.go │ │ ├── bootstraper_test.go │ │ ├── builder │ │ │ ├── codec_test.go │ │ │ └── encoder_builder.go │ │ ├── canal │ │ │ ├── canal_encoder.go │ │ │ ├── canal_encoder_test.go │ │ │ ├── canal_entry.go │ │ │ ├── canal_entry_test.go │ │ │ ├── canal_json_decoder.go │ │ │ ├── canal_json_message.go │ │ │ ├── canal_json_row_event_encoder.go │ │ │ ├── canal_json_row_event_encoder_test.go │ │ │ ├── canal_json_txn_event_decoder.go │ │ │ ├── canal_json_txn_event_decoder_test.go │ │ │ ├── canal_json_txn_event_encoder.go │ │ │ ├── canal_json_txn_event_encoder_test.go │ │ │ └── type_test.go │ │ ├── common │ │ │ ├── compress.go │ │ │ ├── config.go │ │ │ ├── config_test.go │ │ │ ├── helper.go │ │ │ ├── message.go │ │ │ ├── message_test.go │ │ │ ├── metrics.go │ │ │ └── verify_checksum.go │ │ ├── craft │ │ │ ├── buffer.go │ │ │ ├── codec_test.go │ │ │ ├── craft_decoder.go │ │ │ ├── craft_encoder.go │ │ │ ├── craft_encoder_test.go │ │ │ ├── message_decoder.go │ │ │ ├── message_encoder.go │ │ │ └── model.go │ │ ├── csv │ │ │ ├── csv_decoder.go │ │ │ ├── csv_decoder_test.go │ │ │ ├── csv_encoder.go │ │ │ ├── csv_encoder_test.go │ │ │ ├── csv_message.go │ │ │ └── csv_message_test.go │ │ ├── debezium │ │ │ ├── codec.go │ │ │ ├── codec_test.go │ │ │ ├── debezium_test.go │ │ │ ├── decoder.go │ │ │ ├── encoder.go │ │ │ ├── helper.go │ │ │ ├── helper_test.go │ │ │ └── testdata │ │ │ │ ├── datatype.dbz.json │ │ │ │ ├── datatype.dbz.key.json │ │ │ │ ├── datatype.ddl.sql │ │ │ │ └── datatype.dml.sql │ │ ├── decoder.go │ │ ├── encoder.go │ │ ├── encoder_group.go │ │ ├── internal │ │ │ ├── batch_tester.go │ │ │ ├── column.go │ │ │ ├── java.go │ │ │ └── message_key.go │ │ ├── main_test.go │ │ ├── maxwell │ │ │ ├── maxwell_encoder.go │ │ │ ├── maxwell_encoder_test.go │ │ │ ├── maxwell_message.go │ │ │ └── maxwell_message_test.go │ │ ├── metrics.go │ │ ├── open │ │ │ ├── open_protocol_decoder.go │ │ │ ├── open_protocol_encoder.go │ │ │ ├── open_protocol_encoder_test.go │ │ │ ├── open_protocol_message.go │ │ │ └── open_protocol_message_test.go │ │ ├── simple │ │ │ ├── avro.go │ │ │ ├── decoder.go │ │ │ ├── encoder.go │ │ │ ├── encoder_test.go │ │ │ ├── marshaller.go │ │ │ ├── marshaller_bench_test.go │ │ │ ├── message.go │ │ │ ├── message.json │ │ │ ├── message_test.go │ │ │ └── mock │ │ │ │ └── marshaller.go │ │ └── utils │ │ │ ├── field_types.go │ │ │ ├── mysql_types.go │ │ │ └── test_utils.go │ ├── kafka │ │ ├── admin.go │ │ ├── claimcheck │ │ │ ├── claim_check.go │ │ │ ├── claim_check_test.go │ │ │ └── metrics.go │ │ ├── cluster_admin_client.go │ │ ├── cluster_admin_client_mock_impl.go │ │ ├── factory.go │ │ ├── main_test.go │ │ ├── metrics.go │ │ ├── metrics_collector.go │ │ ├── mock_factory.go │ │ ├── oauth2_token_provider.go │ │ ├── oauth2_token_provider_test.go │ │ ├── options.go │ │ ├── options_test.go │ │ ├── sarama.go │ │ ├── sarama_factory.go │ │ ├── sarama_factory_test.go │ │ ├── sarama_test.go │ │ └── v2 │ │ │ ├── admin.go │ │ │ ├── admin_test.go │ │ │ ├── client.go │ │ │ ├── factory.go │ │ │ ├── factory_test.go │ │ │ ├── gssapi.go │ │ │ ├── gssapi_test.go │ │ │ ├── main_test.go │ │ │ ├── manual_balancer.go │ │ │ ├── manual_balancer_test.go │ │ │ ├── metrics_collector.go │ │ │ ├── metrics_collector_test.go │ │ │ ├── mock │ │ │ ├── client_mock.go │ │ │ ├── gssapi_mock.go │ │ │ └── writer_mock.go │ │ │ └── writer.go │ ├── mysql │ │ ├── config.go │ │ ├── config_test.go │ │ ├── db_helper.go │ │ ├── db_helper_test.go │ │ ├── factory.go │ │ ├── main_test.go │ │ └── mock_db.go │ ├── observer │ │ ├── dummy.go │ │ ├── dummy_test.go │ │ ├── main_test.go │ │ ├── metrics.go │ │ ├── observer.go │ │ ├── observer_test.go │ │ ├── tidb.go │ │ └── tidb_test.go │ ├── pulsar │ │ ├── config.go │ │ ├── config_test.go │ │ ├── factory.go │ │ ├── logger.go │ │ └── logger_test.go │ └── sink_type.go ├── spanz │ ├── btree_map.go │ ├── btree_map_test.go │ ├── convert.go │ ├── convert_test.go │ ├── hash_map.go │ ├── hash_map_test.go │ ├── map_bench_test.go │ ├── set.go │ ├── set_test.go │ ├── span.go │ ├── span_test.go │ └── sync_map.go ├── sqlmodel │ ├── causality.go │ ├── causality_test.go │ ├── multirow.go │ ├── multirow_bench_test.go │ ├── multirow_test.go │ ├── reduce.go │ ├── reduce_test.go │ ├── row_change.go │ ├── row_change_test.go │ ├── utils.go │ ├── utils_test.go │ ├── where_handle.go │ └── where_handle_test.go ├── tcpserver │ ├── main_test.go │ ├── tcp_server.go │ └── tcp_server_test.go ├── txnutil │ ├── gc │ │ ├── doc.go │ │ ├── gc_manager.go │ │ ├── gc_manager_test.go │ │ ├── gc_service.go │ │ ├── gc_service_test.go │ │ ├── main_test.go │ │ ├── metrics.go │ │ └── testing.go │ └── lock_resolver.go ├── types │ ├── main_test.go │ ├── urls.go │ └── urls_test.go ├── upstream │ ├── main_test.go │ ├── manager.go │ ├── manager_test.go │ ├── topo.go │ ├── upstream.go │ └── upstream_test.go ├── util │ ├── atomic.go │ ├── atomic_test.go │ ├── bitflag.go │ ├── bitflag_test.go │ ├── cancel_monitor.go │ ├── comparison.go │ ├── comparison_test.go │ ├── external_storage.go │ ├── external_storage_test.go │ ├── failpoint.go │ ├── identity.go │ ├── json_writer.go │ ├── json_writer_test.go │ ├── main_test.go │ ├── memory.go │ ├── memory_test.go │ ├── pointer.go │ ├── runnable.go │ ├── seahash │ │ ├── LICENSE.md │ │ ├── seahash.go │ │ └── seahash_test.go │ ├── test_helper.go │ ├── test_helper_test.go │ ├── time.go │ ├── tz.go │ ├── tz_test.go │ ├── uri.go │ └── uri_test.go ├── uuid │ ├── mock.go │ ├── uuid.go │ └── uuid_test.go ├── version │ ├── check.go │ ├── check_test.go │ ├── creator_version_gate.go │ ├── creator_version_gate_test.go │ ├── main_test.go │ └── version.go └── workerpool │ ├── async_pool.go │ ├── async_pool_impl.go │ ├── async_pool_test.go │ ├── hash.go │ ├── main_test.go │ ├── pool.go │ ├── pool_impl.go │ └── pool_test.go ├── proto ├── CDCPeerToPeer.proto ├── CanalProtocol.proto ├── CraftBenchmark.proto ├── EntryProtocol.proto ├── benchmark │ └── CraftBenchmark.pb.go ├── canal │ ├── CanalProtocol.pb.go │ └── EntryProtocol.pb.go └── p2p │ └── CDCPeerToPeer.pb.go ├── scripts ├── avro-local-test.sh ├── canal │ ├── canal-local-test.sh │ └── docker │ │ ├── CentOS-Base.repo │ │ ├── Dockerfile │ │ └── start.sh ├── check-copyright.sh ├── check-diff-line-width.sh ├── check-log-style.sh ├── check-merge-conflicts.sh ├── check-ticdc-dashboard.sh ├── download-integration-test-binaries.sh ├── download-mc.sh ├── download-protoc.sh ├── generate-mock.sh └── generate-protobuf.sh ├── sync_diff_inspector ├── README.md ├── checkpoints │ ├── checkpoints.go │ └── checkpoints_test.go ├── chunk │ ├── chunk.go │ └── chunk_test.go ├── config │ ├── config.go │ ├── config.toml │ ├── config_conflict.toml │ ├── config_dm.toml │ ├── config_sharding.toml │ ├── config_test.go │ ├── dm.go │ ├── dm_test.go │ └── template.go ├── diff │ ├── diff.go │ └── diff_test.go ├── main.go ├── progress │ ├── progress.go │ └── progress_test.go ├── report │ ├── report.go │ └── report_test.go ├── source │ ├── chunks_iter.go │ ├── common │ │ ├── common_test.go │ │ ├── conn.go │ │ ├── conn_test.go │ │ ├── rows.go │ │ └── table_diff.go │ ├── mysql_shard.go │ ├── source.go │ ├── source_test.go │ └── tidb.go ├── splitter │ ├── bucket.go │ ├── index_fields.go │ ├── index_fields_test.go │ ├── limit.go │ ├── random.go │ ├── splitter.go │ └── splitter_test.go ├── tests │ ├── README.md │ ├── _utils │ │ ├── check_contains │ │ ├── check_contains_count │ │ ├── check_contains_regex │ │ ├── check_db_status │ │ └── check_not_contains │ ├── conf │ │ ├── client.crt │ │ ├── client.key │ │ ├── generate_script.sh │ │ ├── root.crt │ │ ├── tidb.crt │ │ └── tidb.key │ ├── importer │ │ └── run.sh │ ├── run.sh │ └── sync_diff_inspector │ │ ├── checkpoint │ │ ├── config_base.toml │ │ ├── config_base_continous.toml │ │ ├── config_base_rand.toml │ │ └── run.sh │ │ ├── config_base_mysql.toml │ │ ├── config_base_tidb.toml │ │ ├── expression │ │ ├── config.toml │ │ └── run.sh │ │ ├── fix_sql │ │ ├── config.toml │ │ └── run.sh │ │ ├── json │ │ ├── config_base.toml │ │ ├── data.sql │ │ └── run.sh │ │ ├── run.sh │ │ ├── shard │ │ ├── config_base.toml │ │ ├── config_router_1.toml │ │ ├── config_router_2.toml │ │ ├── config_router_3.toml │ │ ├── config_router_4.toml │ │ ├── config_router_5.toml │ │ └── run.sh │ │ ├── snapshot │ │ ├── config_base.toml │ │ └── run.sh │ │ ├── table_config │ │ ├── config.toml │ │ └── run.sh │ │ ├── table_skip │ │ ├── config_base.toml │ │ ├── config_router.toml │ │ ├── data.sql │ │ └── run.sh │ │ ├── time_zone │ │ ├── config.toml │ │ └── run.sh │ │ └── tls │ │ ├── config.toml │ │ └── run.sh └── utils │ ├── pd.go │ ├── table.go │ ├── utils.go │ └── utils_test.go ├── tests ├── integration_tests │ ├── README.md │ ├── _certificates │ │ ├── ca.pem │ │ ├── client-key.pem │ │ ├── client.pem │ │ ├── kafka.server.keystore.jks │ │ ├── kafka.server.truststore.jks │ │ ├── server-key.pem │ │ └── server.pem │ ├── _utils │ │ ├── check_changefeed_state │ │ ├── check_changefeed_status │ │ ├── check_contains │ │ ├── check_etcd_meta_not_exist │ │ ├── check_logs │ │ ├── check_logs_contains │ │ ├── check_not_contains │ │ ├── check_redo_resolved_ts │ │ ├── check_sync_diff │ │ ├── check_table_exists │ │ ├── check_table_not_exists │ │ ├── check_usage_tips │ │ ├── cleanup_process │ │ ├── ensure │ │ ├── kill_cdc_pid │ │ ├── random_kill_process │ │ ├── run_cdc_cli │ │ ├── run_cdc_cli_tso_query │ │ ├── run_cdc_server │ │ ├── run_kafka_consumer │ │ ├── run_pulsar_cluster │ │ ├── run_pulsar_consumer │ │ ├── run_sql │ │ ├── run_sql_file │ │ ├── run_storage_consumer │ │ ├── start_tidb_cluster │ │ ├── start_tidb_cluster_impl │ │ ├── start_tls_tidb_cluster │ │ ├── start_tls_tidb_cluster_impl │ │ ├── stop_tidb_cluster │ │ ├── test_prepare │ │ └── tiflash-users.toml │ ├── api_v2 │ │ ├── cases.go │ │ ├── main.go │ │ ├── model.go │ │ ├── request.go │ │ └── run.sh │ ├── autorandom │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── tidb_config.toml │ │ ├── data │ │ │ └── test.sql │ │ └── run.sh │ ├── availability │ │ ├── capture.sh │ │ ├── owner.sh │ │ ├── processor.sh │ │ └── run.sh │ ├── avro_basic │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── data.sql │ │ └── run.sh │ ├── bank │ │ ├── bank.go │ │ ├── case.go │ │ └── run.sh │ ├── batch_add_table │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── prepare.sql │ │ │ └── test.sql │ │ └── run.sh │ ├── batch_update_to_no_batch │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── test.sql │ │ │ ├── test_finish.sql │ │ │ └── test_v5.sql │ │ └── run.sh │ ├── bdr_mode │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── down.toml │ │ │ └── up.toml │ │ ├── data │ │ │ ├── down.sql │ │ │ ├── finished.sql │ │ │ └── up.sql │ │ └── run.sh │ ├── canal_json_adapter_compatibility │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ └── data_gbk.sql │ │ └── run.sh │ ├── canal_json_basic │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ └── data_gbk.sql │ │ └── run.sh │ ├── canal_json_claim_check │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── data.sql │ │ └── run.sh │ ├── canal_json_content_compatible │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ └── data_gbk.sql │ │ └── run.sh │ ├── canal_json_handle_key_only │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── data.sql │ │ └── run.sh │ ├── canal_json_storage_basic │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ └── schema.sql │ │ └── run.sh │ ├── canal_json_storage_partition_table │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── capture_session_done_during_task │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── capture_suicide_while_balance_table │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── cdc │ │ ├── cdc.go │ │ ├── config.toml │ │ ├── dailytest │ │ │ ├── case.go │ │ │ ├── dailytest.go │ │ │ ├── data.go │ │ │ ├── db.go │ │ │ ├── exector.go │ │ │ ├── job.go │ │ │ ├── parser.go │ │ │ └── rand.go │ │ └── run.sh │ ├── cdc_server_tips │ │ └── run.sh │ ├── changefeed_auto_stop │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ └── run.sh │ ├── changefeed_dup_error_restart │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ └── run.sh │ ├── changefeed_error │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ └── run.sh │ ├── changefeed_fast_fail │ │ └── run.sh │ ├── changefeed_finish │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── changefeed_pause_resume │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── changefeed_reconstruct │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ └── run.sh │ ├── changefeed_resume_with_checkpoint_ts │ │ ├── conf │ │ │ ├── diff_config1.toml │ │ │ ├── diff_config2.toml │ │ │ └── diff_config3.toml │ │ └── run.sh │ ├── charset_gbk │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── test.sql │ │ └── run.sh │ ├── ci_collation_compatibility │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── tidb_config.toml │ │ ├── data │ │ │ └── test.sql │ │ └── run.sh │ ├── cli_tls_with_auth │ │ └── run.sh │ ├── cli_with_auth │ │ └── run.sh │ ├── clustered_index │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── test.sql │ │ └── run.sh │ ├── common_1 │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── test.sql │ │ │ ├── test_finish.sql │ │ │ └── test_v5.sql │ │ └── run.sh │ ├── consistent_partition_table │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── create.sql │ │ │ └── prepare.sql │ │ └── run.sh │ ├── consistent_replicate_ddl │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ └── run.sh │ ├── consistent_replicate_gbk │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── consistent_replicate_nfs │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ └── run.sh │ ├── consistent_replicate_storage_file │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── consistent_replicate_storage_file_large_value │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── consistent_replicate_storage_s3 │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── csv_storage_basic │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ └── schema.sql │ │ └── run.sh │ ├── csv_storage_multi_tables_ddl │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── error-1.toml │ │ │ ├── error-2.toml │ │ │ └── normal.toml │ │ ├── data │ │ │ └── test.sql │ │ └── run.sh │ ├── csv_storage_partition_table │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── csv_storage_update_pk_clustered │ │ ├── conf │ │ │ ├── changefeed1.toml │ │ │ ├── changefeed2.toml │ │ │ ├── changefeed3.toml │ │ │ ├── changefeed4.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── prepare.sql │ │ │ └── run.sql │ │ ├── result │ │ │ ├── changefeed1_pk.res │ │ │ ├── changefeed1_uk.res │ │ │ ├── changefeed2_pk.res │ │ │ ├── changefeed2_uk.res │ │ │ ├── changefeed3_pk.res │ │ │ ├── changefeed3_uk.res │ │ │ ├── changefeed4_pk.res │ │ │ └── changefeed4_uk.res │ │ └── run.sh │ ├── csv_storage_update_pk_nonclustered │ │ ├── conf │ │ │ ├── changefeed1.toml │ │ │ ├── changefeed2.toml │ │ │ ├── changefeed3.toml │ │ │ ├── changefeed4.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── prepare.sql │ │ │ └── run.sql │ │ ├── result │ │ │ ├── changefeed1_pk.res │ │ │ ├── changefeed1_uk.res │ │ │ ├── changefeed2_pk.res │ │ │ ├── changefeed2_uk.res │ │ │ ├── changefeed3_pk.res │ │ │ ├── changefeed3_uk.res │ │ │ ├── changefeed4_pk.res │ │ │ └── changefeed4_uk.res │ │ └── run.sh │ ├── ddl_attributes │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── ddl_manager │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── ddl_only_block_related_table │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── diff_config_2.toml │ │ ├── data │ │ │ ├── finishe.sql │ │ │ └── start.sql │ │ └── run.sh │ ├── ddl_puller_lag │ │ └── run.sh │ ├── ddl_reentrant │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── tidb_config.toml │ │ └── run.sh │ ├── ddl_sequence │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── ddl_wait │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── run.sh │ │ └── test.go │ ├── ddl_with_exists │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── run.sh │ │ └── test.go │ ├── debezium │ │ ├── README.md │ │ ├── changefeed.toml │ │ ├── docker-compose.yml │ │ ├── go.mod │ │ ├── go.sum │ │ ├── run.sh │ │ ├── sql │ │ │ ├── data_types.sql │ │ │ ├── ddl.sql │ │ │ ├── debezium │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── README.txt │ │ │ │ ├── binary_column_test.sql │ │ │ │ ├── binary_mode_test.sql │ │ │ │ ├── connector_read_binary_field_test.sql │ │ │ │ ├── connector_test.sql │ │ │ │ ├── connector_test_ro.sql │ │ │ │ ├── datetime_key_test.sql │ │ │ │ ├── db_default_charset.sql │ │ │ │ ├── db_default_charset_noutf.sql │ │ │ │ ├── decimal_column_test.sql │ │ │ │ ├── decimal_test.sql │ │ │ │ ├── default_value.sql │ │ │ │ ├── default_value_all_zero_time.sql │ │ │ │ ├── default_value_generated.sql │ │ │ │ ├── enum_column_test.sql │ │ │ │ ├── float_test.sql │ │ │ │ ├── history-dbz.sql │ │ │ │ ├── multitable_dbz_871.sql │ │ │ │ ├── mysql-dbz-123.ddl │ │ │ │ ├── mysql-dbz-162.ddl │ │ │ │ ├── mysql-dbz-193.ddl │ │ │ │ ├── mysql-dbz-198i.ddl │ │ │ │ ├── mysql-dbz-200.ddl │ │ │ │ ├── mysql-quoted.ddl │ │ │ │ ├── mysql-test-create.ddl │ │ │ │ ├── mysql-ticketmonster-liquibase.ddl │ │ │ │ ├── mysql_dbz_6533.sql │ │ │ │ ├── numeric_column_test.sql │ │ │ │ ├── readbinlog_test.sql │ │ │ │ ├── real_test.sql │ │ │ │ ├── regression_test.sql │ │ │ │ ├── skip_messages_test.sql │ │ │ │ ├── strategy_test.sql │ │ │ │ ├── table_column_comment_test.sql │ │ │ │ ├── timestamp_column_test.sql │ │ │ │ ├── tinyint_test.sql │ │ │ │ ├── topic_name_sanitization_test.sql │ │ │ │ ├── transaction_metadata_test.sql │ │ │ │ ├── transactionpayload_test.sql │ │ │ │ ├── unsigned_integer_test.sql │ │ │ │ └── year_test.sql │ │ │ └── dml.sql │ │ └── src │ │ │ ├── db_helper.go │ │ │ ├── logger.go │ │ │ ├── main.go │ │ │ └── test_cases.go │ ├── debezium_basic │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ ├── data_gbk.sql │ │ │ └── test.sql │ │ └── run.sh │ ├── default_value │ │ ├── config.toml │ │ ├── diff_config.toml │ │ ├── main.go │ │ └── run.sh │ ├── down_db_require_secure_transport │ │ └── run.sh │ ├── drop_many_tables │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── event_filter │ │ ├── conf │ │ │ ├── cf.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── test.sql │ │ │ ├── test_alter.sql │ │ │ ├── test_rename.sql │ │ │ └── test_truncate.sql │ │ └── run.sh │ ├── force_replicate_table │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── tidb_config.toml │ │ ├── data │ │ │ └── test.sql │ │ └── run.sh │ ├── foreign_key │ │ ├── conf │ │ │ ├── cf.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── gc_safepoint │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── generate_column │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── stored.sql │ │ │ └── virtual.sql │ │ └── run.sh │ ├── http_api │ │ ├── run.sh │ │ └── util │ │ │ └── test_case.py │ ├── http_api_tls │ │ ├── run.sh │ │ └── util │ │ │ └── test_case.py │ ├── http_api_tls_with_user_auth │ │ ├── run.sh │ │ └── util │ │ │ └── test_case.py │ ├── http_proxies │ │ ├── run-proxy.go │ │ └── run.sh │ ├── kafka_big_messages │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── kafka_big_messages_v2 │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── kafka_column_selector │ │ ├── conf │ │ │ └── changefeed.toml │ │ ├── data │ │ │ └── data.sql │ │ └── run.sh │ ├── kafka_column_selector_avro │ │ ├── conf │ │ │ └── changefeed.toml │ │ ├── data │ │ │ └── data.sql │ │ └── run.sh │ ├── kafka_compression │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── gzip_data.sql │ │ │ ├── lz4_data.sql │ │ │ ├── snappy_data.sql │ │ │ └── zstd_data.sql │ │ └── run.sh │ ├── kafka_messages │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ └── run.sh │ ├── kafka_simple_basic │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ ├── data_gbk.sql │ │ │ └── pre_ddl.sql │ │ └── run.sh │ ├── kafka_simple_basic_avro │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ └── data_gbk.sql │ │ └── run.sh │ ├── kafka_simple_claim_check │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ └── ddl.sql │ │ └── run.sh │ ├── kafka_simple_claim_check_avro │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ └── ddl.sql │ │ └── run.sh │ ├── kafka_simple_handle_key_only │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ └── ddl.sql │ │ └── run.sh │ ├── kafka_simple_handle_key_only_avro │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ └── ddl.sql │ │ └── run.sh │ ├── kafka_sink_error_resume │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── kill_owner_with_ddl │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── kv_client_stream_reconnect │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── lossy_ddl │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── many_pk_or_uk │ │ ├── config.toml │ │ ├── diff_config.toml │ │ ├── main.go │ │ └── run.sh │ ├── move_table │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ ├── main.go │ │ └── run.sh │ ├── mq_sink_dispatcher │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ ├── diff_config.toml │ │ │ └── new_changefeed.toml │ │ └── run.sh │ ├── mq_sink_lost_callback │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── multi_capture │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── workload1 │ │ │ └── workload2 │ │ └── run.sh │ ├── multi_cdc_cluster │ │ ├── conf │ │ │ ├── changefeed1.toml │ │ │ ├── changefeed2.toml │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── multi_rocks │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── tikv_config.toml │ │ │ └── workload │ │ └── run.sh │ ├── multi_source │ │ ├── config.toml │ │ ├── diff_config.toml │ │ ├── main.go │ │ └── run.sh │ ├── multi_tables_ddl │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── error-1.toml │ │ │ ├── error-2.toml │ │ │ └── normal.toml │ │ ├── data │ │ │ └── test.sql │ │ └── run.sh │ ├── multi_tables_ddl_v2 │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ ├── error-1.toml │ │ │ ├── error-2.toml │ │ │ └── normal.toml │ │ ├── data │ │ │ └── test.sql │ │ └── run.sh │ ├── multi_topics │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── step1.sql │ │ │ └── step2.sql │ │ └── run.sh │ ├── multi_topics_v2 │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── step1.sql │ │ │ └── step2.sql │ │ └── run.sh │ ├── new_ci_collation │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── tidb_config.toml │ │ ├── data │ │ │ ├── test1.sql │ │ │ └── test2.sql │ │ └── run.sh │ ├── open_protocol_claim_check │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── data.sql │ │ └── run.sh │ ├── open_protocol_handle_key_only │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── data.sql │ │ └── run.sh │ ├── owner_remove_table_error │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── owner_resign │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── partition_table │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── processor_err_chan │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── server.toml │ │ └── run.sh │ ├── processor_etcd_worker_delay │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── processor_resolved_ts_fallback │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── processor_stop_delay │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── region_merge │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── pd_config.toml │ │ └── run.sh │ ├── resolve_lock │ │ ├── config.toml │ │ ├── diff_config.toml │ │ ├── main.go │ │ └── run.sh │ ├── resourcecontrol │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── row_format │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── step1.sql │ │ │ ├── step2.sql │ │ │ ├── step3.sql │ │ │ └── step4.sql │ │ └── run.sh │ ├── run.sh │ ├── run_group.sh │ ├── safe_mode │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── create_table.sql │ │ │ ├── insert.sql │ │ │ └── update.sql │ │ └── run.sh │ ├── savepoint │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── sequence │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── force_replicate.toml │ │ ├── data │ │ │ └── test.sql │ │ └── run.sh │ ├── server_config_compatibility │ │ ├── conf │ │ │ └── server.toml │ │ └── run.sh │ ├── simple │ │ └── run.sh │ ├── sink_hang │ │ ├── conf │ │ │ └── diff_config.toml │ │ └── run.sh │ ├── sink_retry │ │ ├── conf │ │ │ ├── diff_config.toml │ │ │ └── workload │ │ └── run.sh │ ├── split_region │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── increment.sql │ │ │ └── prepare.sql │ │ └── run.sh │ ├── sql_mode │ │ └── run.sh │ ├── storage_cleanup │ │ ├── conf │ │ │ ├── changefeed-default.toml │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ └── schema.sql │ │ └── run.sh │ ├── storage_csv_update │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ └── diff_config.toml │ │ ├── data │ │ │ ├── data.sql │ │ │ ├── schema.sql │ │ │ └── update.sql │ │ └── run.sh │ ├── synced_status │ │ ├── conf │ │ │ └── changefeed.toml │ │ └── run.sh │ ├── synced_status_with_redo │ │ ├── conf │ │ │ └── changefeed-redo.toml │ │ └── run.sh │ ├── syncpoint │ │ ├── conf │ │ │ ├── changefeed.toml │ │ │ ├── diff_config_final.toml │ │ │ ├── diff_config_part1.toml │ │ │ ├── diff_config_part2.toml │ │ │ └── workload │ │ └── run.sh │ ├── syncpoint_check_ts │ │ ├── conf │ │ │ └── changefeed.toml │ │ └── run.sh │ ├── tidb_mysql_test │ │ ├── README.md │ │ ├── build.sh │ │ ├── diff_config.toml │ │ ├── r │ │ │ ├── alter_table.result │ │ │ ├── bigint.result │ │ │ ├── composite_index.result │ │ │ ├── concurrent_ddl.result │ │ │ ├── date_formats.result │ │ │ ├── drop.result │ │ │ └── mysql_replace.result │ │ ├── run.sh │ │ ├── t │ │ │ ├── alter_table.test │ │ │ ├── bigint.test │ │ │ ├── composite_index.test │ │ │ ├── concurrent_ddl.test │ │ │ ├── date_formats.test │ │ │ ├── drop.test │ │ │ └── mysql_replace.test │ │ └── test.sh │ ├── tiflash │ │ ├── conf │ │ │ └── diff_config.toml │ │ ├── data │ │ │ └── prepare.sql │ │ └── run.sh │ ├── util │ │ ├── config.go │ │ └── db.go │ └── vector │ │ ├── conf │ │ └── diff_config.toml │ │ ├── data │ │ └── data.sql │ │ └── run.sh ├── mq_protocol_tests │ ├── README.md │ ├── cases │ │ ├── case_alter.go │ │ ├── case_composite_pkey.go │ │ ├── case_date_time.go │ │ ├── case_delete.go │ │ ├── case_handle_key.go │ │ ├── case_many_types.go │ │ ├── case_simple.go │ │ └── case_unsigned.go │ ├── framework │ │ ├── avro │ │ │ ├── kafka_docker_env.go │ │ │ ├── kafka_docker_env_test.go │ │ │ ├── kafka_single_table.go │ │ │ └── kafka_single_table_test.go │ │ ├── canal │ │ │ ├── kafka_docker_env.go │ │ │ ├── kafka_docker_env_test.go │ │ │ ├── kafka_single_table.go │ │ │ └── kafka_single_table_test.go │ │ ├── docker_compose_op.go │ │ ├── docker_compose_op_test.go │ │ ├── docker_env.go │ │ ├── dsl.go │ │ ├── env.go │ │ ├── mysql │ │ │ ├── docker_env.go │ │ │ ├── docker_env_test.go │ │ │ ├── single_table.go │ │ │ └── single_table_test.go │ │ ├── sql_batch_op.go │ │ ├── sql_helper.go │ │ └── task.go │ └── main.go └── utils │ ├── checksum_checker │ └── main.go │ └── gen_kafka_big_messages │ ├── main.go │ └── main_test.go ├── third-party-license.txt └── tools ├── Makefile └── check ├── check-errdoc.sh ├── check-tidy.sh ├── go.mod ├── go.sum └── tools.go /.codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/.codecov.yml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .gitignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/.golangci.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/Makefile -------------------------------------------------------------------------------- /Makefile.engine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/Makefile.engine -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/OWNERS -------------------------------------------------------------------------------- /OWNERS_ALIASES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/OWNERS_ALIASES -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/README.md -------------------------------------------------------------------------------- /README_DM.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/README_DM.md -------------------------------------------------------------------------------- /README_Engine.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/README_Engine.md -------------------------------------------------------------------------------- /README_TiCDC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/README_TiCDC.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/SECURITY.md -------------------------------------------------------------------------------- /cdc/api/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/main_test.go -------------------------------------------------------------------------------- /cdc/api/owner/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/owner/main_test.go -------------------------------------------------------------------------------- /cdc/api/owner/owner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/owner/owner.go -------------------------------------------------------------------------------- /cdc/api/owner/owner_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/owner/owner_test.go -------------------------------------------------------------------------------- /cdc/api/status/status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/status/status.go -------------------------------------------------------------------------------- /cdc/api/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/util.go -------------------------------------------------------------------------------- /cdc/api/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/util_test.go -------------------------------------------------------------------------------- /cdc/api/v1/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v1/api.go -------------------------------------------------------------------------------- /cdc/api/v1/api_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v1/api_test.go -------------------------------------------------------------------------------- /cdc/api/v1/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v1/main_test.go -------------------------------------------------------------------------------- /cdc/api/v1/validator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v1/validator.go -------------------------------------------------------------------------------- /cdc/api/v1/validator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v1/validator_test.go -------------------------------------------------------------------------------- /cdc/api/v2/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/OWNERS -------------------------------------------------------------------------------- /cdc/api/v2/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/api.go -------------------------------------------------------------------------------- /cdc/api/v2/api_helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/api_helpers.go -------------------------------------------------------------------------------- /cdc/api/v2/api_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/api_test.go -------------------------------------------------------------------------------- /cdc/api/v2/capture.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/capture.go -------------------------------------------------------------------------------- /cdc/api/v2/capture_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/capture_test.go -------------------------------------------------------------------------------- /cdc/api/v2/changefeed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/changefeed.go -------------------------------------------------------------------------------- /cdc/api/v2/changefeed_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/changefeed_test.go -------------------------------------------------------------------------------- /cdc/api/v2/health.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/health.go -------------------------------------------------------------------------------- /cdc/api/v2/health_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/health_test.go -------------------------------------------------------------------------------- /cdc/api/v2/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/log.go -------------------------------------------------------------------------------- /cdc/api/v2/log_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/log_test.go -------------------------------------------------------------------------------- /cdc/api/v2/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/model.go -------------------------------------------------------------------------------- /cdc/api/v2/model_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/model_test.go -------------------------------------------------------------------------------- /cdc/api/v2/owner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/owner.go -------------------------------------------------------------------------------- /cdc/api/v2/owner_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/owner_test.go -------------------------------------------------------------------------------- /cdc/api/v2/processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/processor.go -------------------------------------------------------------------------------- /cdc/api/v2/processor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/processor_test.go -------------------------------------------------------------------------------- /cdc/api/v2/status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/status.go -------------------------------------------------------------------------------- /cdc/api/v2/status_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/status_test.go -------------------------------------------------------------------------------- /cdc/api/v2/tso.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/tso.go -------------------------------------------------------------------------------- /cdc/api/v2/tso_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/tso_test.go -------------------------------------------------------------------------------- /cdc/api/v2/unsafe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/unsafe.go -------------------------------------------------------------------------------- /cdc/api/v2/unsafe_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/api/v2/unsafe_test.go -------------------------------------------------------------------------------- /cdc/capture/capture.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/capture/capture.go -------------------------------------------------------------------------------- /cdc/capture/capture_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/capture/capture_test.go -------------------------------------------------------------------------------- /cdc/capture/election.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/capture/election.go -------------------------------------------------------------------------------- /cdc/capture/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/capture/main_test.go -------------------------------------------------------------------------------- /cdc/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/doc.go -------------------------------------------------------------------------------- /cdc/entry/codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/entry/codec.go -------------------------------------------------------------------------------- /cdc/entry/codec_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/entry/codec_test.go -------------------------------------------------------------------------------- /cdc/entry/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/entry/main_test.go -------------------------------------------------------------------------------- /cdc/entry/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/entry/metrics.go -------------------------------------------------------------------------------- /cdc/entry/mounter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/entry/mounter.go -------------------------------------------------------------------------------- /cdc/entry/mounter_group.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/entry/mounter_group.go -------------------------------------------------------------------------------- /cdc/entry/mounter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/entry/mounter_test.go -------------------------------------------------------------------------------- /cdc/entry/schema/snapshot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/entry/schema/snapshot.go -------------------------------------------------------------------------------- /cdc/entry/schema_storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/entry/schema_storage.go -------------------------------------------------------------------------------- /cdc/entry/schema_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/entry/schema_test.go -------------------------------------------------------------------------------- /cdc/entry/validator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/entry/validator.go -------------------------------------------------------------------------------- /cdc/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/http.go -------------------------------------------------------------------------------- /cdc/http_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/http_test.go -------------------------------------------------------------------------------- /cdc/kv/client_mock_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/kv/client_mock_test.go -------------------------------------------------------------------------------- /cdc/kv/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/kv/main_test.go -------------------------------------------------------------------------------- /cdc/kv/matcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/kv/matcher.go -------------------------------------------------------------------------------- /cdc/kv/matcher_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/kv/matcher_test.go -------------------------------------------------------------------------------- /cdc/kv/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/kv/metrics.go -------------------------------------------------------------------------------- /cdc/kv/region_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/kv/region_state.go -------------------------------------------------------------------------------- /cdc/kv/regionlock/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/kv/regionlock/utils.go -------------------------------------------------------------------------------- /cdc/kv/shared_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/kv/shared_client.go -------------------------------------------------------------------------------- /cdc/kv/shared_client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/kv/shared_client_test.go -------------------------------------------------------------------------------- /cdc/kv/shared_stream.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/kv/shared_stream.go -------------------------------------------------------------------------------- /cdc/kv/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/kv/utils.go -------------------------------------------------------------------------------- /cdc/metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/metrics/metrics.go -------------------------------------------------------------------------------- /cdc/metrics/metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/metrics/metrics_test.go -------------------------------------------------------------------------------- /cdc/model/capture.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/capture.go -------------------------------------------------------------------------------- /cdc/model/capture_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/capture_test.go -------------------------------------------------------------------------------- /cdc/model/changefeed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/changefeed.go -------------------------------------------------------------------------------- /cdc/model/changefeed_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/changefeed_test.go -------------------------------------------------------------------------------- /cdc/model/codec/codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/codec/codec.go -------------------------------------------------------------------------------- /cdc/model/codec/codec_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/codec/codec_test.go -------------------------------------------------------------------------------- /cdc/model/codec/v1/codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/codec/v1/codec.go -------------------------------------------------------------------------------- /cdc/model/codec/v1/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/codec/v1/convert.go -------------------------------------------------------------------------------- /cdc/model/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/errors.go -------------------------------------------------------------------------------- /cdc/model/errors_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/errors_test.go -------------------------------------------------------------------------------- /cdc/model/http_model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/http_model.go -------------------------------------------------------------------------------- /cdc/model/http_model_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/http_model_test.go -------------------------------------------------------------------------------- /cdc/model/kv.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/kv.go -------------------------------------------------------------------------------- /cdc/model/kv_gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/kv_gen.go -------------------------------------------------------------------------------- /cdc/model/kv_gen_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/kv_gen_test.go -------------------------------------------------------------------------------- /cdc/model/kv_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/kv_test.go -------------------------------------------------------------------------------- /cdc/model/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/main_test.go -------------------------------------------------------------------------------- /cdc/model/mounter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/mounter.go -------------------------------------------------------------------------------- /cdc/model/mounter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/mounter_test.go -------------------------------------------------------------------------------- /cdc/model/owner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/owner.go -------------------------------------------------------------------------------- /cdc/model/owner_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/owner_test.go -------------------------------------------------------------------------------- /cdc/model/schema_storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/schema_storage.go -------------------------------------------------------------------------------- /cdc/model/sink.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/sink.go -------------------------------------------------------------------------------- /cdc/model/sink_gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/sink_gen.go -------------------------------------------------------------------------------- /cdc/model/sink_gen_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/sink_gen_test.go -------------------------------------------------------------------------------- /cdc/model/sink_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/sink_test.go -------------------------------------------------------------------------------- /cdc/model/upstream.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/upstream.go -------------------------------------------------------------------------------- /cdc/model/upstream_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/model/upstream_test.go -------------------------------------------------------------------------------- /cdc/owner/barrier.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/barrier.go -------------------------------------------------------------------------------- /cdc/owner/barrier_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/barrier_test.go -------------------------------------------------------------------------------- /cdc/owner/changefeed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/changefeed.go -------------------------------------------------------------------------------- /cdc/owner/changefeed_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/changefeed_test.go -------------------------------------------------------------------------------- /cdc/owner/ddl_manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/ddl_manager.go -------------------------------------------------------------------------------- /cdc/owner/ddl_manager_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/ddl_manager_test.go -------------------------------------------------------------------------------- /cdc/owner/ddl_sink.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/ddl_sink.go -------------------------------------------------------------------------------- /cdc/owner/ddl_sink_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/ddl_sink_test.go -------------------------------------------------------------------------------- /cdc/owner/feed_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/feed_state.go -------------------------------------------------------------------------------- /cdc/owner/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/main_test.go -------------------------------------------------------------------------------- /cdc/owner/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/metrics.go -------------------------------------------------------------------------------- /cdc/owner/mock/owner_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/mock/owner_mock.go -------------------------------------------------------------------------------- /cdc/owner/owner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/owner.go -------------------------------------------------------------------------------- /cdc/owner/owner_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/owner_test.go -------------------------------------------------------------------------------- /cdc/owner/status_provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/owner/status_provider.go -------------------------------------------------------------------------------- /cdc/processor/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/processor/main_test.go -------------------------------------------------------------------------------- /cdc/processor/manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/processor/manager.go -------------------------------------------------------------------------------- /cdc/processor/manager_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/processor/manager_test.go -------------------------------------------------------------------------------- /cdc/processor/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/processor/metrics.go -------------------------------------------------------------------------------- /cdc/processor/processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/processor/processor.go -------------------------------------------------------------------------------- /cdc/puller/ddl_puller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/puller/ddl_puller.go -------------------------------------------------------------------------------- /cdc/puller/ddl_puller_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/puller/ddl_puller_test.go -------------------------------------------------------------------------------- /cdc/puller/frontier/heap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/puller/frontier/heap.go -------------------------------------------------------------------------------- /cdc/puller/frontier/list.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/puller/frontier/list.go -------------------------------------------------------------------------------- /cdc/puller/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/puller/main_test.go -------------------------------------------------------------------------------- /cdc/puller/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/puller/metrics.go -------------------------------------------------------------------------------- /cdc/redo/common/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/common/main_test.go -------------------------------------------------------------------------------- /cdc/redo/common/metric.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/common/metric.go -------------------------------------------------------------------------------- /cdc/redo/common/redo_meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/common/redo_meta.go -------------------------------------------------------------------------------- /cdc/redo/common/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/common/util.go -------------------------------------------------------------------------------- /cdc/redo/common/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/common/util_test.go -------------------------------------------------------------------------------- /cdc/redo/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/doc.go -------------------------------------------------------------------------------- /cdc/redo/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/main_test.go -------------------------------------------------------------------------------- /cdc/redo/manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/manager.go -------------------------------------------------------------------------------- /cdc/redo/manager_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/manager_test.go -------------------------------------------------------------------------------- /cdc/redo/meta_manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/meta_manager.go -------------------------------------------------------------------------------- /cdc/redo/meta_manager_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/meta_manager_test.go -------------------------------------------------------------------------------- /cdc/redo/reader/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/reader/file.go -------------------------------------------------------------------------------- /cdc/redo/reader/file_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/reader/file_test.go -------------------------------------------------------------------------------- /cdc/redo/reader/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/reader/main_test.go -------------------------------------------------------------------------------- /cdc/redo/reader/reader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/reader/reader.go -------------------------------------------------------------------------------- /cdc/redo/writer/file/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/writer/file/file.go -------------------------------------------------------------------------------- /cdc/redo/writer/writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/redo/writer/writer.go -------------------------------------------------------------------------------- /cdc/scheduler/rexport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/scheduler/rexport.go -------------------------------------------------------------------------------- /cdc/server/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/server/metrics.go -------------------------------------------------------------------------------- /cdc/server/metrics_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/server/metrics_server.go -------------------------------------------------------------------------------- /cdc/server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/server/server.go -------------------------------------------------------------------------------- /cdc/server/server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/server/server_test.go -------------------------------------------------------------------------------- /cdc/sink/ddlsink/ddl_sink.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/sink/ddlsink/ddl_sink.go -------------------------------------------------------------------------------- /cdc/sink/dmlsink/event.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/sink/dmlsink/event.go -------------------------------------------------------------------------------- /cdc/sink/dmlsink/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/sink/dmlsink/main_test.go -------------------------------------------------------------------------------- /cdc/sink/dmlsink/mq/worker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/sink/dmlsink/mq/worker.go -------------------------------------------------------------------------------- /cdc/sink/dmlsink/txn/event.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/sink/dmlsink/txn/event.go -------------------------------------------------------------------------------- /cdc/sink/metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/sink/metrics/metrics.go -------------------------------------------------------------------------------- /cdc/sink/metrics/mq/pulsar.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/sink/metrics/mq/pulsar.go -------------------------------------------------------------------------------- /cdc/sink/util/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/sink/util/helper.go -------------------------------------------------------------------------------- /cdc/sink/util/helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/sink/util/helper_test.go -------------------------------------------------------------------------------- /cdc/sink/util/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/sink/util/main_test.go -------------------------------------------------------------------------------- /cdc/vars/vars.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cdc/vars/vars.go -------------------------------------------------------------------------------- /cmd/cdc/fips.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/cdc/fips.go -------------------------------------------------------------------------------- /cmd/cdc/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/cdc/main.go -------------------------------------------------------------------------------- /cmd/cdc/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/cdc/main_test.go -------------------------------------------------------------------------------- /cmd/dm-ctl/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-ctl/OWNERS -------------------------------------------------------------------------------- /cmd/dm-ctl/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-ctl/main.go -------------------------------------------------------------------------------- /cmd/dm-ctl/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-ctl/main_test.go -------------------------------------------------------------------------------- /cmd/dm-master/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-master/OWNERS -------------------------------------------------------------------------------- /cmd/dm-master/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-master/main.go -------------------------------------------------------------------------------- /cmd/dm-master/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-master/main_test.go -------------------------------------------------------------------------------- /cmd/dm-syncer/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-syncer/OWNERS -------------------------------------------------------------------------------- /cmd/dm-syncer/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-syncer/config.go -------------------------------------------------------------------------------- /cmd/dm-syncer/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-syncer/main.go -------------------------------------------------------------------------------- /cmd/dm-syncer/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-syncer/main_test.go -------------------------------------------------------------------------------- /cmd/dm-worker/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-worker/OWNERS -------------------------------------------------------------------------------- /cmd/dm-worker/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-worker/main.go -------------------------------------------------------------------------------- /cmd/dm-worker/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/dm-worker/main_test.go -------------------------------------------------------------------------------- /cmd/filter-helper/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/filter-helper/main.go -------------------------------------------------------------------------------- /cmd/kafka-consumer/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/kafka-consumer/main.go -------------------------------------------------------------------------------- /cmd/kafka-consumer/option.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/kafka-consumer/option.go -------------------------------------------------------------------------------- /cmd/kafka-consumer/writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/kafka-consumer/writer.go -------------------------------------------------------------------------------- /cmd/oauth2-server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/oauth2-server/main.go -------------------------------------------------------------------------------- /cmd/pulsar-consumer/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/pulsar-consumer/main.go -------------------------------------------------------------------------------- /cmd/storage-consumer/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/storage-consumer/main.go -------------------------------------------------------------------------------- /cmd/tiflow/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/cmd/tiflow/main.go -------------------------------------------------------------------------------- /deployments/engine/docker-compose/config/tidb.toml: -------------------------------------------------------------------------------- 1 | new_collations_enabled_on_first_bootstrap = true 2 | -------------------------------------------------------------------------------- /deployments/ticdc/docker-compose/configs/canal-test-config.toml: -------------------------------------------------------------------------------- 1 | [sink] 2 | protocol = "canal" 3 | 4 | -------------------------------------------------------------------------------- /deployments/ticdc/docker-compose/configs/enable-oldvalue-config.toml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dm/.codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/.codecov.yml -------------------------------------------------------------------------------- /dm/.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/.golangci.yml -------------------------------------------------------------------------------- /dm/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/CONTRIBUTING.md -------------------------------------------------------------------------------- /dm/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/Dockerfile -------------------------------------------------------------------------------- /dm/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/OWNERS -------------------------------------------------------------------------------- /dm/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/SECURITY.md -------------------------------------------------------------------------------- /dm/_utils/terror_gen/check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/_utils/terror_gen/check.sh -------------------------------------------------------------------------------- /dm/_utils/terror_gen/gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/_utils/terror_gen/gen.go -------------------------------------------------------------------------------- /dm/chaos/cases/cases.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/cases.go -------------------------------------------------------------------------------- /dm/chaos/cases/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/config.go -------------------------------------------------------------------------------- /dm/chaos/cases/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/db.go -------------------------------------------------------------------------------- /dm/chaos/cases/diff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/diff.go -------------------------------------------------------------------------------- /dm/chaos/cases/generator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/generator.go -------------------------------------------------------------------------------- /dm/chaos/cases/instance.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/instance.go -------------------------------------------------------------------------------- /dm/chaos/cases/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/main.go -------------------------------------------------------------------------------- /dm/chaos/cases/member.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/member.go -------------------------------------------------------------------------------- /dm/chaos/cases/result.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/result.go -------------------------------------------------------------------------------- /dm/chaos/cases/schema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/schema.go -------------------------------------------------------------------------------- /dm/chaos/cases/source.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/source.go -------------------------------------------------------------------------------- /dm/chaos/cases/stmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/stmt.go -------------------------------------------------------------------------------- /dm/chaos/cases/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/cases/task.go -------------------------------------------------------------------------------- /dm/chaos/manifests/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/manifests/Dockerfile -------------------------------------------------------------------------------- /dm/chaos/manifests/cases.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/manifests/cases.yaml -------------------------------------------------------------------------------- /dm/chaos/manifests/tidb.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/chaos/manifests/tidb.yaml -------------------------------------------------------------------------------- /dm/checker/check_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/checker/check_test.go -------------------------------------------------------------------------------- /dm/checker/checker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/checker/checker.go -------------------------------------------------------------------------------- /dm/checker/cmd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/checker/cmd.go -------------------------------------------------------------------------------- /dm/common/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/common/common.go -------------------------------------------------------------------------------- /dm/common/common_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/common/common_test.go -------------------------------------------------------------------------------- /dm/config/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/OWNERS -------------------------------------------------------------------------------- /dm/config/checker_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/checker_config.go -------------------------------------------------------------------------------- /dm/config/checking_item.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/checking_item.go -------------------------------------------------------------------------------- /dm/config/dbconfig/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/dbconfig/config.go -------------------------------------------------------------------------------- /dm/config/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/helper.go -------------------------------------------------------------------------------- /dm/config/helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/helper_test.go -------------------------------------------------------------------------------- /dm/config/security_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/security_test.go -------------------------------------------------------------------------------- /dm/config/source.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/source.yaml -------------------------------------------------------------------------------- /dm/config/source_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/source_config.go -------------------------------------------------------------------------------- /dm/config/source_converter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/source_converter.go -------------------------------------------------------------------------------- /dm/config/subtask.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/subtask.go -------------------------------------------------------------------------------- /dm/config/subtask.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/subtask.toml -------------------------------------------------------------------------------- /dm/config/subtask_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/subtask_test.go -------------------------------------------------------------------------------- /dm/config/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/task.go -------------------------------------------------------------------------------- /dm/config/task_cli_args.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/task_cli_args.go -------------------------------------------------------------------------------- /dm/config/task_converters.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/task_converters.go -------------------------------------------------------------------------------- /dm/config/task_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/config/task_test.go -------------------------------------------------------------------------------- /dm/ctl/common/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/common/config.go -------------------------------------------------------------------------------- /dm/ctl/common/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/common/config_test.go -------------------------------------------------------------------------------- /dm/ctl/common/operate_task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/common/operate_task.go -------------------------------------------------------------------------------- /dm/ctl/common/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/common/util.go -------------------------------------------------------------------------------- /dm/ctl/common/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/common/util_test.go -------------------------------------------------------------------------------- /dm/ctl/ctl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/ctl.go -------------------------------------------------------------------------------- /dm/ctl/dmctl.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/dmctl.toml -------------------------------------------------------------------------------- /dm/ctl/master/binlog.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/binlog.go -------------------------------------------------------------------------------- /dm/ctl/master/check_task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/check_task.go -------------------------------------------------------------------------------- /dm/ctl/master/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/config.go -------------------------------------------------------------------------------- /dm/ctl/master/get_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/get_config.go -------------------------------------------------------------------------------- /dm/ctl/master/handle_error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/handle_error.go -------------------------------------------------------------------------------- /dm/ctl/master/list_member.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/list_member.go -------------------------------------------------------------------------------- /dm/ctl/master/operate_task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/operate_task.go -------------------------------------------------------------------------------- /dm/ctl/master/pause_relay.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/pause_relay.go -------------------------------------------------------------------------------- /dm/ctl/master/pause_task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/pause_task.go -------------------------------------------------------------------------------- /dm/ctl/master/purge_relay.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/purge_relay.go -------------------------------------------------------------------------------- /dm/ctl/master/query_status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/query_status.go -------------------------------------------------------------------------------- /dm/ctl/master/resume_relay.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/resume_relay.go -------------------------------------------------------------------------------- /dm/ctl/master/resume_task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/resume_task.go -------------------------------------------------------------------------------- /dm/ctl/master/start_task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/start_task.go -------------------------------------------------------------------------------- /dm/ctl/master/stop_task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ctl/master/stop_task.go -------------------------------------------------------------------------------- /dm/docs/media/compatible.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/docs/media/compatible.png -------------------------------------------------------------------------------- /dm/docs/media/flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/docs/media/flow.png -------------------------------------------------------------------------------- /dm/docs/media/new-dmctl.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/docs/media/new-dmctl.svg -------------------------------------------------------------------------------- /dm/dumpling/dumpling.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/dumpling/dumpling.go -------------------------------------------------------------------------------- /dm/dumpling/dumpling_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/dumpling/dumpling_test.go -------------------------------------------------------------------------------- /dm/dumpling/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/dumpling/metrics.go -------------------------------------------------------------------------------- /dm/errors.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/errors.toml -------------------------------------------------------------------------------- /dm/loader/checkpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/loader/checkpoint.go -------------------------------------------------------------------------------- /dm/loader/checkpoint_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/loader/checkpoint_test.go -------------------------------------------------------------------------------- /dm/loader/lightning.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/loader/lightning.go -------------------------------------------------------------------------------- /dm/loader/lightning_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/loader/lightning_test.go -------------------------------------------------------------------------------- /dm/loader/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/loader/metrics.go -------------------------------------------------------------------------------- /dm/loader/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/loader/util.go -------------------------------------------------------------------------------- /dm/master/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/OWNERS -------------------------------------------------------------------------------- /dm/master/agent_pool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/agent_pool.go -------------------------------------------------------------------------------- /dm/master/agent_pool_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/agent_pool_test.go -------------------------------------------------------------------------------- /dm/master/bootstrap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/bootstrap.go -------------------------------------------------------------------------------- /dm/master/bootstrap_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/bootstrap_test.go -------------------------------------------------------------------------------- /dm/master/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/config.go -------------------------------------------------------------------------------- /dm/master/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/config_test.go -------------------------------------------------------------------------------- /dm/master/dm-master.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/dm-master.toml -------------------------------------------------------------------------------- /dm/master/election.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/election.go -------------------------------------------------------------------------------- /dm/master/election_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/election_test.go -------------------------------------------------------------------------------- /dm/master/etcd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/etcd.go -------------------------------------------------------------------------------- /dm/master/etcd_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/etcd_test.go -------------------------------------------------------------------------------- /dm/master/http_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/http_handler.go -------------------------------------------------------------------------------- /dm/master/metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/metrics/metrics.go -------------------------------------------------------------------------------- /dm/master/openapi_view.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/openapi_view.go -------------------------------------------------------------------------------- /dm/master/scheduler/latch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/scheduler/latch.go -------------------------------------------------------------------------------- /dm/master/scheduler/worker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/scheduler/worker.go -------------------------------------------------------------------------------- /dm/master/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/server.go -------------------------------------------------------------------------------- /dm/master/server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/server_test.go -------------------------------------------------------------------------------- /dm/master/shardddl/info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/shardddl/info.go -------------------------------------------------------------------------------- /dm/master/source.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/source.yaml -------------------------------------------------------------------------------- /dm/master/task_advanced.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/task_advanced.yaml -------------------------------------------------------------------------------- /dm/master/task_basic.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/task_basic.yaml -------------------------------------------------------------------------------- /dm/master/tls_for_test/ca.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/tls_for_test/ca.pem -------------------------------------------------------------------------------- /dm/master/tls_for_test/dm.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/tls_for_test/dm.key -------------------------------------------------------------------------------- /dm/master/tls_for_test/dm.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/master/tls_for_test/dm.pem -------------------------------------------------------------------------------- /dm/openapi/fixtures/source.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/fixtures/source.go -------------------------------------------------------------------------------- /dm/openapi/fixtures/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/fixtures/task.go -------------------------------------------------------------------------------- /dm/openapi/gen.client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/gen.client.go -------------------------------------------------------------------------------- /dm/openapi/gen.server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/gen.server.go -------------------------------------------------------------------------------- /dm/openapi/gen.types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/gen.types.go -------------------------------------------------------------------------------- /dm/openapi/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/logger.go -------------------------------------------------------------------------------- /dm/openapi/logger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/logger_test.go -------------------------------------------------------------------------------- /dm/openapi/spec/dm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/spec/dm.yaml -------------------------------------------------------------------------------- /dm/openapi/swaggerui.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/swaggerui.go -------------------------------------------------------------------------------- /dm/openapi/swaggerui_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/swaggerui_test.go -------------------------------------------------------------------------------- /dm/openapi/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/task.go -------------------------------------------------------------------------------- /dm/openapi/task_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/openapi/task_test.go -------------------------------------------------------------------------------- /dm/pb/dmmaster.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pb/dmmaster.pb.go -------------------------------------------------------------------------------- /dm/pb/dmmaster.pb.gw.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pb/dmmaster.pb.gw.go -------------------------------------------------------------------------------- /dm/pb/dmworker.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pb/dmworker.pb.go -------------------------------------------------------------------------------- /dm/pb/hide_password.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pb/hide_password.go -------------------------------------------------------------------------------- /dm/pbmock/dmmaster.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pbmock/dmmaster.go -------------------------------------------------------------------------------- /dm/pbmock/dmworker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pbmock/dmworker.go -------------------------------------------------------------------------------- /dm/pkg/backoff/backoff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/backoff/backoff.go -------------------------------------------------------------------------------- /dm/pkg/binlog/common/stage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/common/stage.go -------------------------------------------------------------------------------- /dm/pkg/binlog/event/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/event/common.go -------------------------------------------------------------------------------- /dm/pkg/binlog/event/ddl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/event/ddl.go -------------------------------------------------------------------------------- /dm/pkg/binlog/event/dml.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/event/dml.go -------------------------------------------------------------------------------- /dm/pkg/binlog/event/event.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/event/event.go -------------------------------------------------------------------------------- /dm/pkg/binlog/event/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/event/helper.go -------------------------------------------------------------------------------- /dm/pkg/binlog/event/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/event/util.go -------------------------------------------------------------------------------- /dm/pkg/binlog/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/file.go -------------------------------------------------------------------------------- /dm/pkg/binlog/file_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/file_test.go -------------------------------------------------------------------------------- /dm/pkg/binlog/pos_finder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/pos_finder.go -------------------------------------------------------------------------------- /dm/pkg/binlog/position.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/position.go -------------------------------------------------------------------------------- /dm/pkg/binlog/reader/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/reader/file.go -------------------------------------------------------------------------------- /dm/pkg/binlog/reader/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/reader/mock.go -------------------------------------------------------------------------------- /dm/pkg/binlog/reader/tcp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/reader/tcp.go -------------------------------------------------------------------------------- /dm/pkg/binlog/reader/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/reader/util.go -------------------------------------------------------------------------------- /dm/pkg/binlog/status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/status.go -------------------------------------------------------------------------------- /dm/pkg/binlog/status_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/binlog/status_test.go -------------------------------------------------------------------------------- /dm/pkg/checker/binlog.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/checker/binlog.go -------------------------------------------------------------------------------- /dm/pkg/checker/binlog_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/checker/binlog_test.go -------------------------------------------------------------------------------- /dm/pkg/checker/lightning.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/checker/lightning.go -------------------------------------------------------------------------------- /dm/pkg/checker/onlineddl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/checker/onlineddl.go -------------------------------------------------------------------------------- /dm/pkg/checker/primary_key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/checker/primary_key.go -------------------------------------------------------------------------------- /dm/pkg/checker/privilege.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/checker/privilege.go -------------------------------------------------------------------------------- /dm/pkg/checker/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/checker/utils.go -------------------------------------------------------------------------------- /dm/pkg/checker/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/checker/utils_test.go -------------------------------------------------------------------------------- /dm/pkg/checker/worker_pool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/checker/worker_pool.go -------------------------------------------------------------------------------- /dm/pkg/conn/baseconn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/conn/baseconn.go -------------------------------------------------------------------------------- /dm/pkg/conn/baseconn_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/conn/baseconn_test.go -------------------------------------------------------------------------------- /dm/pkg/conn/basedb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/conn/basedb.go -------------------------------------------------------------------------------- /dm/pkg/conn/basedb_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/conn/basedb_test.go -------------------------------------------------------------------------------- /dm/pkg/conn/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/conn/db.go -------------------------------------------------------------------------------- /dm/pkg/conn/db_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/conn/db_test.go -------------------------------------------------------------------------------- /dm/pkg/conn/mockdb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/conn/mockdb.go -------------------------------------------------------------------------------- /dm/pkg/conn/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/conn/utils.go -------------------------------------------------------------------------------- /dm/pkg/conn/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/conn/utils_test.go -------------------------------------------------------------------------------- /dm/pkg/context/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/context/context.go -------------------------------------------------------------------------------- /dm/pkg/cputil/table.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/cputil/table.go -------------------------------------------------------------------------------- /dm/pkg/cputil/table_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/cputil/table_test.go -------------------------------------------------------------------------------- /dm/pkg/dumpling/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/dumpling/utils.go -------------------------------------------------------------------------------- /dm/pkg/dumpling/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/dumpling/utils_test.go -------------------------------------------------------------------------------- /dm/pkg/election/election.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/election/election.go -------------------------------------------------------------------------------- /dm/pkg/encrypt/encrypt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/encrypt/encrypt.go -------------------------------------------------------------------------------- /dm/pkg/gtid/gtid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/gtid/gtid.go -------------------------------------------------------------------------------- /dm/pkg/gtid/gtid_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/gtid/gtid_test.go -------------------------------------------------------------------------------- /dm/pkg/ha/bound.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/bound.go -------------------------------------------------------------------------------- /dm/pkg/ha/bound_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/bound_test.go -------------------------------------------------------------------------------- /dm/pkg/ha/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/doc.go -------------------------------------------------------------------------------- /dm/pkg/ha/keepalive.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/keepalive.go -------------------------------------------------------------------------------- /dm/pkg/ha/load_task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/load_task.go -------------------------------------------------------------------------------- /dm/pkg/ha/ops.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/ops.go -------------------------------------------------------------------------------- /dm/pkg/ha/ops_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/ops_test.go -------------------------------------------------------------------------------- /dm/pkg/ha/relay.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/relay.go -------------------------------------------------------------------------------- /dm/pkg/ha/relay_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/relay_test.go -------------------------------------------------------------------------------- /dm/pkg/ha/source.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/source.go -------------------------------------------------------------------------------- /dm/pkg/ha/source_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/source_test.go -------------------------------------------------------------------------------- /dm/pkg/ha/stage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/stage.go -------------------------------------------------------------------------------- /dm/pkg/ha/stage_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/stage_test.go -------------------------------------------------------------------------------- /dm/pkg/ha/subtask.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/subtask.go -------------------------------------------------------------------------------- /dm/pkg/ha/subtask_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/subtask_test.go -------------------------------------------------------------------------------- /dm/pkg/ha/task_cli_args.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/task_cli_args.go -------------------------------------------------------------------------------- /dm/pkg/ha/worker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/worker.go -------------------------------------------------------------------------------- /dm/pkg/ha/worker_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/ha/worker_test.go -------------------------------------------------------------------------------- /dm/pkg/helper/value.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/helper/value.go -------------------------------------------------------------------------------- /dm/pkg/log/ctx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/log/ctx.go -------------------------------------------------------------------------------- /dm/pkg/log/ctx_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/log/ctx_test.go -------------------------------------------------------------------------------- /dm/pkg/log/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/log/log.go -------------------------------------------------------------------------------- /dm/pkg/log/log_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/log/log_test.go -------------------------------------------------------------------------------- /dm/pkg/parser/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/parser/common.go -------------------------------------------------------------------------------- /dm/pkg/retry/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/retry/errors.go -------------------------------------------------------------------------------- /dm/pkg/retry/strategy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/retry/strategy.go -------------------------------------------------------------------------------- /dm/pkg/schema/tracker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/schema/tracker.go -------------------------------------------------------------------------------- /dm/pkg/schema/visitor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/schema/visitor.go -------------------------------------------------------------------------------- /dm/pkg/storage/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/storage/utils.go -------------------------------------------------------------------------------- /dm/pkg/streamer/hub.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/streamer/hub.go -------------------------------------------------------------------------------- /dm/pkg/terror/adapter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/terror/adapter.go -------------------------------------------------------------------------------- /dm/pkg/terror/terror.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/terror/terror.go -------------------------------------------------------------------------------- /dm/pkg/upgrade/upgrade.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/upgrade/upgrade.go -------------------------------------------------------------------------------- /dm/pkg/upgrade/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/upgrade/version.go -------------------------------------------------------------------------------- /dm/pkg/utils/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/common.go -------------------------------------------------------------------------------- /dm/pkg/utils/encrypt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/encrypt.go -------------------------------------------------------------------------------- /dm/pkg/utils/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/file.go -------------------------------------------------------------------------------- /dm/pkg/utils/file_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/file_test.go -------------------------------------------------------------------------------- /dm/pkg/utils/filename.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/filename.go -------------------------------------------------------------------------------- /dm/pkg/utils/hash.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/hash.go -------------------------------------------------------------------------------- /dm/pkg/utils/hash_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/hash_test.go -------------------------------------------------------------------------------- /dm/pkg/utils/relay.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/relay.go -------------------------------------------------------------------------------- /dm/pkg/utils/relay_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/relay_test.go -------------------------------------------------------------------------------- /dm/pkg/utils/storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/storage.go -------------------------------------------------------------------------------- /dm/pkg/utils/string.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/string.go -------------------------------------------------------------------------------- /dm/pkg/utils/time.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/time.go -------------------------------------------------------------------------------- /dm/pkg/utils/time_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/time_test.go -------------------------------------------------------------------------------- /dm/pkg/utils/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/util.go -------------------------------------------------------------------------------- /dm/pkg/utils/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/utils/util_test.go -------------------------------------------------------------------------------- /dm/pkg/v1workermeta/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/v1workermeta/api.go -------------------------------------------------------------------------------- /dm/pkg/v1workermeta/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/pkg/v1workermeta/db.go -------------------------------------------------------------------------------- /dm/pkg/v1workermeta/v106_data_for_test/kv/000011.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dm/pkg/v1workermeta/v106_data_for_test/kv/LOCK: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dm/proto/dmmaster.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/proto/dmmaster.proto -------------------------------------------------------------------------------- /dm/proto/dmworker.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/proto/dmworker.proto -------------------------------------------------------------------------------- /dm/relay/binlog_writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/binlog_writer.go -------------------------------------------------------------------------------- /dm/relay/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/config.go -------------------------------------------------------------------------------- /dm/relay/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/file.go -------------------------------------------------------------------------------- /dm/relay/file_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/file_test.go -------------------------------------------------------------------------------- /dm/relay/file_util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/file_util.go -------------------------------------------------------------------------------- /dm/relay/file_util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/file_util_test.go -------------------------------------------------------------------------------- /dm/relay/local_reader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/local_reader.go -------------------------------------------------------------------------------- /dm/relay/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/meta.go -------------------------------------------------------------------------------- /dm/relay/meta_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/meta_test.go -------------------------------------------------------------------------------- /dm/relay/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/metrics.go -------------------------------------------------------------------------------- /dm/relay/purge_strategy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/purge_strategy.go -------------------------------------------------------------------------------- /dm/relay/purger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/purger.go -------------------------------------------------------------------------------- /dm/relay/purger_helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/purger_helper.go -------------------------------------------------------------------------------- /dm/relay/purger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/purger_test.go -------------------------------------------------------------------------------- /dm/relay/relay.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/relay.go -------------------------------------------------------------------------------- /dm/relay/relay_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/relay_test.go -------------------------------------------------------------------------------- /dm/relay/relay_writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/relay_writer.go -------------------------------------------------------------------------------- /dm/relay/remote_retry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/remote_retry.go -------------------------------------------------------------------------------- /dm/relay/streamer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/streamer.go -------------------------------------------------------------------------------- /dm/relay/streamer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/streamer_test.go -------------------------------------------------------------------------------- /dm/relay/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/util.go -------------------------------------------------------------------------------- /dm/relay/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/relay/util_test.go -------------------------------------------------------------------------------- /dm/roadmap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/roadmap.md -------------------------------------------------------------------------------- /dm/simulator/mcp/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/simulator/mcp/errors.go -------------------------------------------------------------------------------- /dm/simulator/mcp/mcp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/simulator/mcp/mcp.go -------------------------------------------------------------------------------- /dm/simulator/mcp/uk.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/simulator/mcp/uk.go -------------------------------------------------------------------------------- /dm/syncer/causality.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/causality.go -------------------------------------------------------------------------------- /dm/syncer/checkpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/checkpoint.go -------------------------------------------------------------------------------- /dm/syncer/compactor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/compactor.go -------------------------------------------------------------------------------- /dm/syncer/dbconn/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/dbconn/db.go -------------------------------------------------------------------------------- /dm/syncer/dbconn/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/dbconn/utils.go -------------------------------------------------------------------------------- /dm/syncer/ddl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/ddl.go -------------------------------------------------------------------------------- /dm/syncer/ddl_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/ddl_test.go -------------------------------------------------------------------------------- /dm/syncer/dml.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/dml.go -------------------------------------------------------------------------------- /dm/syncer/dml_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/dml_test.go -------------------------------------------------------------------------------- /dm/syncer/dml_worker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/dml_worker.go -------------------------------------------------------------------------------- /dm/syncer/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/error.go -------------------------------------------------------------------------------- /dm/syncer/error_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/error_test.go -------------------------------------------------------------------------------- /dm/syncer/filter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/filter.go -------------------------------------------------------------------------------- /dm/syncer/filter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/filter_test.go -------------------------------------------------------------------------------- /dm/syncer/handle_error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/handle_error.go -------------------------------------------------------------------------------- /dm/syncer/job.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/job.go -------------------------------------------------------------------------------- /dm/syncer/job_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/job_test.go -------------------------------------------------------------------------------- /dm/syncer/optimist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/optimist.go -------------------------------------------------------------------------------- /dm/syncer/relay.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/relay.go -------------------------------------------------------------------------------- /dm/syncer/safe_mode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/safe_mode.go -------------------------------------------------------------------------------- /dm/syncer/schema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/schema.go -------------------------------------------------------------------------------- /dm/syncer/status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/status.go -------------------------------------------------------------------------------- /dm/syncer/status_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/status_test.go -------------------------------------------------------------------------------- /dm/syncer/syncer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/syncer.go -------------------------------------------------------------------------------- /dm/syncer/syncer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/syncer_test.go -------------------------------------------------------------------------------- /dm/syncer/test_injector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/test_injector.go -------------------------------------------------------------------------------- /dm/syncer/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/util.go -------------------------------------------------------------------------------- /dm/syncer/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/syncer/util_test.go -------------------------------------------------------------------------------- /dm/tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/README.md -------------------------------------------------------------------------------- /dm/tests/_utils/check_port: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/_utils/check_port -------------------------------------------------------------------------------- /dm/tests/_utils/get_leader: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/_utils/get_leader -------------------------------------------------------------------------------- /dm/tests/_utils/run_dm_ctl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/_utils/run_dm_ctl -------------------------------------------------------------------------------- /dm/tests/_utils/run_sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/_utils/run_sql -------------------------------------------------------------------------------- /dm/tests/all_mode/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/all_mode/run.sh -------------------------------------------------------------------------------- /dm/tests/check_task/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/check_task/run.sh -------------------------------------------------------------------------------- /dm/tests/dm_syncer/data/db2.increment.sql: -------------------------------------------------------------------------------- 1 | use dm_syncer; 2 | delete from t2 where name = 'Sansa'; 3 | -------------------------------------------------------------------------------- /dm/tests/dm_syncer/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/dm_syncer/run.sh -------------------------------------------------------------------------------- /dm/tests/dmctl_advance/check_list/sql_inject.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | -------------------------------------------------------------------------------- /dm/tests/dmctl_basic/conf/dm-task2.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | description: "invalid task config" 3 | -------------------------------------------------------------------------------- /dm/tests/extend_column/data/db1.delete.sql: -------------------------------------------------------------------------------- 1 | use extend_column1; 2 | delete from y2 where c1 = 4; 3 | -------------------------------------------------------------------------------- /dm/tests/extend_column/data/db2.delete.sql: -------------------------------------------------------------------------------- 1 | use extend_column2; 2 | delete from t2 where c1 > 1; 3 | -------------------------------------------------------------------------------- /dm/tests/full_mode/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/full_mode/run.sh -------------------------------------------------------------------------------- /dm/tests/gbk/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/gbk/run.sh -------------------------------------------------------------------------------- /dm/tests/gtid/data/db1.increment2.sql: -------------------------------------------------------------------------------- 1 | use gtid; 2 | insert into t1 values (3,3); 3 | -------------------------------------------------------------------------------- /dm/tests/gtid/data/db2.increment2.sql: -------------------------------------------------------------------------------- 1 | use gtid; 2 | insert into t2 values (3,3); 3 | -------------------------------------------------------------------------------- /dm/tests/gtid/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/gtid/run.sh -------------------------------------------------------------------------------- /dm/tests/ha/data/db2.increment.sql: -------------------------------------------------------------------------------- 1 | use ha_test; 2 | delete from t2 where name = 'Sansa'; 3 | -------------------------------------------------------------------------------- /dm/tests/ha/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/ha/run.sh -------------------------------------------------------------------------------- /dm/tests/ha_cases/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/ha_cases/run.sh -------------------------------------------------------------------------------- /dm/tests/ha_cases2/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/ha_cases2/run.sh -------------------------------------------------------------------------------- /dm/tests/ha_cases3/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/ha_cases3/run.sh -------------------------------------------------------------------------------- /dm/tests/ha_cases_1/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/ha_cases_1/run.sh -------------------------------------------------------------------------------- /dm/tests/ha_cases_2/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/ha_cases_2/run.sh -------------------------------------------------------------------------------- /dm/tests/ha_master/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/ha_master/run.sh -------------------------------------------------------------------------------- /dm/tests/http_apis/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/http_apis/run.sh -------------------------------------------------------------------------------- /dm/tests/import_v10x/dm_worker1_meta/kv/000005.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dm/tests/import_v10x/dm_worker1_meta/kv/000010.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dm/tests/import_v10x/dm_worker1_meta/kv/LOCK: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dm/tests/import_v10x/dm_worker2_meta/kv/000005.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dm/tests/import_v10x/dm_worker2_meta/kv/000010.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dm/tests/import_v10x/dm_worker2_meta/kv/LOCK: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dm/tests/lightning_mode/data/db2.increment0.sql: -------------------------------------------------------------------------------- 1 | delete from lightning_mode.t2 where id = 1; 2 | -------------------------------------------------------------------------------- /dm/tests/metrics/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/metrics/run.sh -------------------------------------------------------------------------------- /dm/tests/new_collation_off/conf/tidb-config.toml: -------------------------------------------------------------------------------- 1 | new_collations_enabled_on_first_bootstrap = false 2 | -------------------------------------------------------------------------------- /dm/tests/new_relay/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/new_relay/run.sh -------------------------------------------------------------------------------- /dm/tests/online_ddl/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/online_ddl/run.sh -------------------------------------------------------------------------------- /dm/tests/only_dml/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/only_dml/run.sh -------------------------------------------------------------------------------- /dm/tests/openapi/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/openapi/run.sh -------------------------------------------------------------------------------- /dm/tests/prepare_tools.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/prepare_tools.sh -------------------------------------------------------------------------------- /dm/tests/requirements.txt: -------------------------------------------------------------------------------- 1 | requests 2 | ipaddress 3 | -------------------------------------------------------------------------------- /dm/tests/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/run.sh -------------------------------------------------------------------------------- /dm/tests/run_group.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/run_group.sh -------------------------------------------------------------------------------- /dm/tests/safe_mode/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/safe_mode/run.sh -------------------------------------------------------------------------------- /dm/tests/sequence_sharding_optimistic/data/db2.increment0.sql: -------------------------------------------------------------------------------- 1 | use `sharding_seq_opt`; 2 | -------------------------------------------------------------------------------- /dm/tests/shardddl1/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/shardddl1/run.sh -------------------------------------------------------------------------------- /dm/tests/shardddl2/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/shardddl2/run.sh -------------------------------------------------------------------------------- /dm/tests/shardddl3/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/shardddl3/run.sh -------------------------------------------------------------------------------- /dm/tests/shardddl4/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/shardddl4/run.sh -------------------------------------------------------------------------------- /dm/tests/sharding/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/sharding/run.sh -------------------------------------------------------------------------------- /dm/tests/sharding2/data/db1.dropdb.sql: -------------------------------------------------------------------------------- 1 | drop database if exists `sharding22`; -------------------------------------------------------------------------------- /dm/tests/sharding2/data/db2.dropdb.sql: -------------------------------------------------------------------------------- 1 | drop database if exists `sharding22`; -------------------------------------------------------------------------------- /dm/tests/sharding2/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/sharding2/run.sh -------------------------------------------------------------------------------- /dm/tests/sql_mode/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/sql_mode/run.sh -------------------------------------------------------------------------------- /dm/tests/start_task/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/start_task/run.sh -------------------------------------------------------------------------------- /dm/tests/tiup/docker/.gitignore: -------------------------------------------------------------------------------- 1 | data -------------------------------------------------------------------------------- /dm/tests/tiup/docker/secret/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dm/tests/tiup/lib.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/tiup/lib.sh -------------------------------------------------------------------------------- /dm/tests/tls/conf/ca.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/tls/conf/ca.pem -------------------------------------------------------------------------------- /dm/tests/tls/conf/dm.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/tls/conf/dm.key -------------------------------------------------------------------------------- /dm/tests/tls/conf/dm.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/tls/conf/dm.pem -------------------------------------------------------------------------------- /dm/tests/tls/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/tls/run.sh -------------------------------------------------------------------------------- /dm/tests/util.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/util.sh -------------------------------------------------------------------------------- /dm/tests/utils/dmctl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/utils/dmctl.go -------------------------------------------------------------------------------- /dm/tests/utils/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/utils/log.go -------------------------------------------------------------------------------- /dm/tests/wait_for_mysql.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/tests/wait_for_mysql.sh -------------------------------------------------------------------------------- /dm/ui/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/.eslintrc.js -------------------------------------------------------------------------------- /dm/ui/.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/.husky/pre-commit -------------------------------------------------------------------------------- /dm/ui/.lintstagedrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/.lintstagedrc.js -------------------------------------------------------------------------------- /dm/ui/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/.prettierrc.js -------------------------------------------------------------------------------- /dm/ui/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/README.md -------------------------------------------------------------------------------- /dm/ui/embedded_asserts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/embedded_asserts.go -------------------------------------------------------------------------------- /dm/ui/empty_asserts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/empty_asserts.go -------------------------------------------------------------------------------- /dm/ui/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/index.html -------------------------------------------------------------------------------- /dm/ui/locales/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/locales/en.json -------------------------------------------------------------------------------- /dm/ui/locales/zh.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/locales/zh.json -------------------------------------------------------------------------------- /dm/ui/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/package.json -------------------------------------------------------------------------------- /dm/ui/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/server.go -------------------------------------------------------------------------------- /dm/ui/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/App.tsx -------------------------------------------------------------------------------- /dm/ui/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/assets/logo.png -------------------------------------------------------------------------------- /dm/ui/src/i18n.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/i18n.ts -------------------------------------------------------------------------------- /dm/ui/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/main.tsx -------------------------------------------------------------------------------- /dm/ui/src/models/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/models/api.ts -------------------------------------------------------------------------------- /dm/ui/src/models/global.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/models/global.ts -------------------------------------------------------------------------------- /dm/ui/src/models/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/models/index.ts -------------------------------------------------------------------------------- /dm/ui/src/models/source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/models/source.ts -------------------------------------------------------------------------------- /dm/ui/src/models/task.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/models/task.ts -------------------------------------------------------------------------------- /dm/ui/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/pages/index.tsx -------------------------------------------------------------------------------- /dm/ui/src/theme.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/theme.less -------------------------------------------------------------------------------- /dm/ui/src/uikit/icons.tsx: -------------------------------------------------------------------------------- 1 | export * from '@ant-design/icons' 2 | -------------------------------------------------------------------------------- /dm/ui/src/uikit/index.tsx: -------------------------------------------------------------------------------- 1 | export * from 'antd' 2 | -------------------------------------------------------------------------------- /dm/ui/src/utils/search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/utils/search.ts -------------------------------------------------------------------------------- /dm/ui/src/utils/sleep.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/src/utils/sleep.ts -------------------------------------------------------------------------------- /dm/ui/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/tsconfig.json -------------------------------------------------------------------------------- /dm/ui/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/vite.config.js -------------------------------------------------------------------------------- /dm/ui/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/ui/yarn.lock -------------------------------------------------------------------------------- /dm/unit/unit.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/unit/unit.go -------------------------------------------------------------------------------- /dm/unit/unit_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/unit/unit_test.go -------------------------------------------------------------------------------- /dm/worker/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/OWNERS -------------------------------------------------------------------------------- /dm/worker/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/config.go -------------------------------------------------------------------------------- /dm/worker/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/config_test.go -------------------------------------------------------------------------------- /dm/worker/dm-worker.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/dm-worker.toml -------------------------------------------------------------------------------- /dm/worker/hub.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/hub.go -------------------------------------------------------------------------------- /dm/worker/hub_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/hub_test.go -------------------------------------------------------------------------------- /dm/worker/join.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/join.go -------------------------------------------------------------------------------- /dm/worker/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/metrics.go -------------------------------------------------------------------------------- /dm/worker/relay.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/relay.go -------------------------------------------------------------------------------- /dm/worker/relay_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/relay_test.go -------------------------------------------------------------------------------- /dm/worker/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/server.go -------------------------------------------------------------------------------- /dm/worker/server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/server_test.go -------------------------------------------------------------------------------- /dm/worker/source.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/source.yaml -------------------------------------------------------------------------------- /dm/worker/source_worker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/source_worker.go -------------------------------------------------------------------------------- /dm/worker/status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/status.go -------------------------------------------------------------------------------- /dm/worker/subtask.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/subtask.go -------------------------------------------------------------------------------- /dm/worker/subtask.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/subtask.toml -------------------------------------------------------------------------------- /dm/worker/subtask_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/subtask_test.go -------------------------------------------------------------------------------- /dm/worker/task_checker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/task_checker.go -------------------------------------------------------------------------------- /dm/worker/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/utils.go -------------------------------------------------------------------------------- /dm/worker/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/utils_test.go -------------------------------------------------------------------------------- /dm/worker/v1meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/dm/worker/v1meta.go -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | -------------------------------------------------------------------------------- /docs/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/.prettierignore -------------------------------------------------------------------------------- /docs/actor-system.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/actor-system.svg -------------------------------------------------------------------------------- /docs/actor-system.wsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/actor-system.wsd -------------------------------------------------------------------------------- /docs/ci/command.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/ci/command.md -------------------------------------------------------------------------------- /docs/data-flow.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/data-flow.dot -------------------------------------------------------------------------------- /docs/data-flow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/data-flow.svg -------------------------------------------------------------------------------- /docs/design/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/design/README.md -------------------------------------------------------------------------------- /docs/design/TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/design/TEMPLATE.md -------------------------------------------------------------------------------- /docs/media/ha-image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/media/ha-image1.png -------------------------------------------------------------------------------- /docs/media/ha-image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/media/ha-image2.png -------------------------------------------------------------------------------- /docs/media/ha-image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/media/ha-image3.png -------------------------------------------------------------------------------- /docs/media/ha-image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/media/ha-image4.png -------------------------------------------------------------------------------- /docs/media/ha-image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/media/ha-image5.png -------------------------------------------------------------------------------- /docs/media/ha-image6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/media/ha-image6.png -------------------------------------------------------------------------------- /docs/media/ha-image7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/media/ha-image7.png -------------------------------------------------------------------------------- /docs/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/package-lock.json -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/scheduling_proto.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/docs/scheduling_proto.puml -------------------------------------------------------------------------------- /engine/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/OWNERS -------------------------------------------------------------------------------- /engine/chaos/cases/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/chaos/cases/main.go -------------------------------------------------------------------------------- /engine/enginepb/test.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/enginepb/test.pb.go -------------------------------------------------------------------------------- /engine/executor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/executor/README.md -------------------------------------------------------------------------------- /engine/executor/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/executor/config.go -------------------------------------------------------------------------------- /engine/executor/dm/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/executor/dm/api.go -------------------------------------------------------------------------------- /engine/executor/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/executor/init.go -------------------------------------------------------------------------------- /engine/executor/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/executor/metrics.go -------------------------------------------------------------------------------- /engine/executor/openapi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/executor/openapi.go -------------------------------------------------------------------------------- /engine/executor/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/executor/server.go -------------------------------------------------------------------------------- /engine/framework/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/framework/common.go -------------------------------------------------------------------------------- /engine/framework/master.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/framework/master.go -------------------------------------------------------------------------------- /engine/framework/worker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/framework/worker.go -------------------------------------------------------------------------------- /engine/jobmaster/dm/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/jobmaster/dm/api.go -------------------------------------------------------------------------------- /engine/model/cluster.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/model/cluster.go -------------------------------------------------------------------------------- /engine/model/job.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/model/job.go -------------------------------------------------------------------------------- /engine/model/job_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/model/job_test.go -------------------------------------------------------------------------------- /engine/model/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/model/main_test.go -------------------------------------------------------------------------------- /engine/pkg/clock/clock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/clock/clock.go -------------------------------------------------------------------------------- /engine/pkg/cmd/cli/cli.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/cmd/cli/cli.go -------------------------------------------------------------------------------- /engine/pkg/cmd/cmd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/cmd/cmd.go -------------------------------------------------------------------------------- /engine/pkg/ctxmu/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/ctxmu/LICENSE -------------------------------------------------------------------------------- /engine/pkg/ctxmu/ctxmu.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/ctxmu/ctxmu.go -------------------------------------------------------------------------------- /engine/pkg/dbutil/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/dbutil/util.go -------------------------------------------------------------------------------- /engine/pkg/deps/deps.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/deps/deps.go -------------------------------------------------------------------------------- /engine/pkg/dm/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/dm/main_test.go -------------------------------------------------------------------------------- /engine/pkg/dm/topic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/dm/topic.go -------------------------------------------------------------------------------- /engine/pkg/errctx/ctx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/errctx/ctx.go -------------------------------------------------------------------------------- /engine/pkg/meta/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/meta/client.go -------------------------------------------------------------------------------- /engine/pkg/meta/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/meta/util.go -------------------------------------------------------------------------------- /engine/pkg/orm/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/orm/client.go -------------------------------------------------------------------------------- /engine/pkg/orm/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/orm/config.go -------------------------------------------------------------------------------- /engine/pkg/orm/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/orm/log.go -------------------------------------------------------------------------------- /engine/pkg/orm/log_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/orm/log_test.go -------------------------------------------------------------------------------- /engine/pkg/orm/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/orm/mock.go -------------------------------------------------------------------------------- /engine/pkg/orm/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/orm/util.go -------------------------------------------------------------------------------- /engine/pkg/p2p/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/pkg/p2p/server.go -------------------------------------------------------------------------------- /engine/pkg/promutil/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | GO111MODULE=on go build -o metric_main ./ 3 | -------------------------------------------------------------------------------- /engine/proto/datarw.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/proto/datarw.proto -------------------------------------------------------------------------------- /engine/proto/master.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/proto/master.proto -------------------------------------------------------------------------------- /engine/proto/test.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/proto/test.proto -------------------------------------------------------------------------------- /engine/test/integration_tests/dm_tls/data/db1.increment.sql: -------------------------------------------------------------------------------- 1 | insert into tls.t1 values (2); 2 | -------------------------------------------------------------------------------- /engine/test/integration_tests/dm_tls/data/db2.increment.sql: -------------------------------------------------------------------------------- 1 | insert into tls.t2 values (2); 2 | -------------------------------------------------------------------------------- /engine/test/mock/grpc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/test/mock/grpc.go -------------------------------------------------------------------------------- /engine/test/utils/run_sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/engine/test/utils/run_sql -------------------------------------------------------------------------------- /errors.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/errors.toml -------------------------------------------------------------------------------- /examples/java/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/examples/java/.gitignore -------------------------------------------------------------------------------- /examples/java/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/examples/java/README.md -------------------------------------------------------------------------------- /examples/java/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/examples/java/pom.xml -------------------------------------------------------------------------------- /examples/java/src/test/resources/data/key/ddl_key_2: -------------------------------------------------------------------------------- 1 | c`F -------------------------------------------------------------------------------- /examples/java/src/test/resources/data/key/row_key_2: -------------------------------------------------------------------------------- 1 | c`F -------------------------------------------------------------------------------- /examples/java/src/test/resources/data/key/rts_key_2: -------------------------------------------------------------------------------- 1 | c`F -------------------------------------------------------------------------------- /examples/java/src/test/resources/data/value/ddl_value_2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/java/src/test/resources/data/value/row_value_2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/java/src/test/resources/data/value/rts_value_2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/go.sum -------------------------------------------------------------------------------- /metrics/grafana/ticdc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/metrics/grafana/ticdc.json -------------------------------------------------------------------------------- /pkg/api/v2/api_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/api/v2/api_client.go -------------------------------------------------------------------------------- /pkg/api/v2/capture.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/api/v2/capture.go -------------------------------------------------------------------------------- /pkg/api/v2/changefeed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/api/v2/changefeed.go -------------------------------------------------------------------------------- /pkg/api/v2/processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/api/v2/processor.go -------------------------------------------------------------------------------- /pkg/api/v2/status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/api/v2/status.go -------------------------------------------------------------------------------- /pkg/api/v2/tso.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/api/v2/tso.go -------------------------------------------------------------------------------- /pkg/api/v2/unsafe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/api/v2/unsafe.go -------------------------------------------------------------------------------- /pkg/applier/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/applier/main_test.go -------------------------------------------------------------------------------- /pkg/applier/redo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/applier/redo.go -------------------------------------------------------------------------------- /pkg/applier/redo_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/applier/redo_test.go -------------------------------------------------------------------------------- /pkg/binlog-filter/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/binlog-filter/util.go -------------------------------------------------------------------------------- /pkg/causality/txn_cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/causality/txn_cache.go -------------------------------------------------------------------------------- /pkg/chann/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/chann/LICENSE -------------------------------------------------------------------------------- /pkg/chann/chann.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/chann/chann.go -------------------------------------------------------------------------------- /pkg/chann/chann_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/chann/chann_test.go -------------------------------------------------------------------------------- /pkg/chann/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/chann/main_test.go -------------------------------------------------------------------------------- /pkg/check/cluster.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/check/cluster.go -------------------------------------------------------------------------------- /pkg/check/cluster_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/check/cluster_test.go -------------------------------------------------------------------------------- /pkg/cmd/cli/cli.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/cli/cli.go -------------------------------------------------------------------------------- /pkg/cmd/cli/cli_capture.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/cli/cli_capture.go -------------------------------------------------------------------------------- /pkg/cmd/cli/cli_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/cli/cli_test.go -------------------------------------------------------------------------------- /pkg/cmd/cli/cli_tso.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/cli/cli_tso.go -------------------------------------------------------------------------------- /pkg/cmd/cli/cli_unsafe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/cli/cli_unsafe.go -------------------------------------------------------------------------------- /pkg/cmd/cli/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/cli/main_test.go -------------------------------------------------------------------------------- /pkg/cmd/cmd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/cmd.go -------------------------------------------------------------------------------- /pkg/cmd/context/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/context/context.go -------------------------------------------------------------------------------- /pkg/cmd/factory/factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/factory/factory.go -------------------------------------------------------------------------------- /pkg/cmd/redo/apply.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/redo/apply.go -------------------------------------------------------------------------------- /pkg/cmd/redo/apply_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/redo/apply_test.go -------------------------------------------------------------------------------- /pkg/cmd/redo/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/redo/meta.go -------------------------------------------------------------------------------- /pkg/cmd/redo/redo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/redo/redo.go -------------------------------------------------------------------------------- /pkg/cmd/server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/server/server.go -------------------------------------------------------------------------------- /pkg/cmd/util/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/util/OWNERS -------------------------------------------------------------------------------- /pkg/cmd/util/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/util/helper.go -------------------------------------------------------------------------------- /pkg/cmd/util/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/util/main_test.go -------------------------------------------------------------------------------- /pkg/cmd/util/ticdc.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/util/ticdc.toml -------------------------------------------------------------------------------- /pkg/cmd/version/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/cmd/version/version.go -------------------------------------------------------------------------------- /pkg/config/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/OWNERS -------------------------------------------------------------------------------- /pkg/config/cdc_v2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/cdc_v2.go -------------------------------------------------------------------------------- /pkg/config/cdc_v2_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/cdc_v2_test.go -------------------------------------------------------------------------------- /pkg/config/consistent.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/consistent.go -------------------------------------------------------------------------------- /pkg/config/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/db.go -------------------------------------------------------------------------------- /pkg/config/debug.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/debug.go -------------------------------------------------------------------------------- /pkg/config/filter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/filter.go -------------------------------------------------------------------------------- /pkg/config/kvclient.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/kvclient.go -------------------------------------------------------------------------------- /pkg/config/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/main_test.go -------------------------------------------------------------------------------- /pkg/config/messages.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/messages.go -------------------------------------------------------------------------------- /pkg/config/mounter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/mounter.go -------------------------------------------------------------------------------- /pkg/config/outdated/v1.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/outdated/v1.go -------------------------------------------------------------------------------- /pkg/config/sink.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/sink.go -------------------------------------------------------------------------------- /pkg/config/sink_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/sink_test.go -------------------------------------------------------------------------------- /pkg/config/sorter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/config/sorter.go -------------------------------------------------------------------------------- /pkg/container/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/container/README.md -------------------------------------------------------------------------------- /pkg/ddl/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/ddl/util.go -------------------------------------------------------------------------------- /pkg/ddl/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/ddl/util_test.go -------------------------------------------------------------------------------- /pkg/diff/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/diff/README.md -------------------------------------------------------------------------------- /pkg/diff/checkpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/diff/checkpoint.go -------------------------------------------------------------------------------- /pkg/diff/chunk.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/diff/chunk.go -------------------------------------------------------------------------------- /pkg/diff/chunk_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/diff/chunk_test.go -------------------------------------------------------------------------------- /pkg/diff/diff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/diff/diff.go -------------------------------------------------------------------------------- /pkg/diff/diff_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/diff/diff_test.go -------------------------------------------------------------------------------- /pkg/diff/merge.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/diff/merge.go -------------------------------------------------------------------------------- /pkg/diff/merge_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/diff/merge_test.go -------------------------------------------------------------------------------- /pkg/diff/spliter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/diff/spliter_test.go -------------------------------------------------------------------------------- /pkg/diff/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/diff/util.go -------------------------------------------------------------------------------- /pkg/diff/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/diff/util_test.go -------------------------------------------------------------------------------- /pkg/election/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/election/config.go -------------------------------------------------------------------------------- /pkg/election/elector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/election/elector.go -------------------------------------------------------------------------------- /pkg/election/storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/election/storage.go -------------------------------------------------------------------------------- /pkg/errors/cdc_errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/errors/cdc_errors.go -------------------------------------------------------------------------------- /pkg/errors/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/errors/helper.go -------------------------------------------------------------------------------- /pkg/errors/helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/errors/helper_test.go -------------------------------------------------------------------------------- /pkg/errors/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/errors/main_test.go -------------------------------------------------------------------------------- /pkg/errors/reexport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/errors/reexport.go -------------------------------------------------------------------------------- /pkg/errors/reflect.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/errors/reflect.go -------------------------------------------------------------------------------- /pkg/errors/reflect_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/errors/reflect_test.go -------------------------------------------------------------------------------- /pkg/errorutil/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/errorutil/util.go -------------------------------------------------------------------------------- /pkg/errorutil/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/errorutil/util_test.go -------------------------------------------------------------------------------- /pkg/etcd/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/etcd/client.go -------------------------------------------------------------------------------- /pkg/etcd/client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/etcd/client_test.go -------------------------------------------------------------------------------- /pkg/etcd/etcd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/etcd/etcd.go -------------------------------------------------------------------------------- /pkg/etcd/etcd_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/etcd/etcd_test.go -------------------------------------------------------------------------------- /pkg/etcd/etcdkey.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/etcd/etcdkey.go -------------------------------------------------------------------------------- /pkg/etcd/etcdkey_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/etcd/etcdkey_test.go -------------------------------------------------------------------------------- /pkg/etcd/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/etcd/main_test.go -------------------------------------------------------------------------------- /pkg/etcd/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/etcd/metrics.go -------------------------------------------------------------------------------- /pkg/etcd/testing.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/etcd/testing.go -------------------------------------------------------------------------------- /pkg/etcd/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/etcd/util.go -------------------------------------------------------------------------------- /pkg/etcd/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/etcd/util_test.go -------------------------------------------------------------------------------- /pkg/filter/expr_filter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/filter/expr_filter.go -------------------------------------------------------------------------------- /pkg/filter/filter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/filter/filter.go -------------------------------------------------------------------------------- /pkg/filter/filter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/filter/filter_test.go -------------------------------------------------------------------------------- /pkg/filter/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/filter/main_test.go -------------------------------------------------------------------------------- /pkg/filter/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/filter/utils.go -------------------------------------------------------------------------------- /pkg/filter/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/filter/utils_test.go -------------------------------------------------------------------------------- /pkg/flags/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/flags/main_test.go -------------------------------------------------------------------------------- /pkg/flags/urls.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/flags/urls.go -------------------------------------------------------------------------------- /pkg/flags/urls_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/flags/urls_test.go -------------------------------------------------------------------------------- /pkg/fsutil/fadvise_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/fsutil/fadvise_test.go -------------------------------------------------------------------------------- /pkg/fsutil/filelock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/fsutil/filelock.go -------------------------------------------------------------------------------- /pkg/fsutil/fileutil.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/fsutil/fileutil.go -------------------------------------------------------------------------------- /pkg/fsutil/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/fsutil/main_test.go -------------------------------------------------------------------------------- /pkg/httputil/httputil.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/httputil/httputil.go -------------------------------------------------------------------------------- /pkg/httputil/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/httputil/main_test.go -------------------------------------------------------------------------------- /pkg/httputil/testing.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/httputil/testing.go -------------------------------------------------------------------------------- /pkg/importer/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/importer/config.go -------------------------------------------------------------------------------- /pkg/importer/data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/importer/data.go -------------------------------------------------------------------------------- /pkg/importer/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/importer/db.go -------------------------------------------------------------------------------- /pkg/importer/importer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/importer/importer.go -------------------------------------------------------------------------------- /pkg/importer/job.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/importer/job.go -------------------------------------------------------------------------------- /pkg/importer/parser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/importer/parser.go -------------------------------------------------------------------------------- /pkg/importer/rand.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/importer/rand.go -------------------------------------------------------------------------------- /pkg/integrity/checksum.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/integrity/checksum.go -------------------------------------------------------------------------------- /pkg/integrity/integrity.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/integrity/integrity.go -------------------------------------------------------------------------------- /pkg/label/label.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/label/label.go -------------------------------------------------------------------------------- /pkg/label/label_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/label/label_test.go -------------------------------------------------------------------------------- /pkg/label/selector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/label/selector.go -------------------------------------------------------------------------------- /pkg/label/selector_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/label/selector_test.go -------------------------------------------------------------------------------- /pkg/logutil/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/logutil/context.go -------------------------------------------------------------------------------- /pkg/logutil/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/logutil/log.go -------------------------------------------------------------------------------- /pkg/logutil/log_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/logutil/log_test.go -------------------------------------------------------------------------------- /pkg/logutil/sensitive.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/logutil/sensitive.go -------------------------------------------------------------------------------- /pkg/migrate/migrate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/migrate/migrate.go -------------------------------------------------------------------------------- /pkg/notify/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/notify/main_test.go -------------------------------------------------------------------------------- /pkg/notify/notify.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/notify/notify.go -------------------------------------------------------------------------------- /pkg/notify/notify_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/notify/notify_test.go -------------------------------------------------------------------------------- /pkg/orchestrator/batch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/orchestrator/batch.go -------------------------------------------------------------------------------- /pkg/orchestrator/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/orchestrator/doc.go -------------------------------------------------------------------------------- /pkg/p2p/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/client.go -------------------------------------------------------------------------------- /pkg/p2p/grpc_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/grpc_client.go -------------------------------------------------------------------------------- /pkg/p2p/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/main_test.go -------------------------------------------------------------------------------- /pkg/p2p/message_router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/message_router.go -------------------------------------------------------------------------------- /pkg/p2p/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/metrics.go -------------------------------------------------------------------------------- /pkg/p2p/mock_cluster.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/mock_cluster.go -------------------------------------------------------------------------------- /pkg/p2p/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/model.go -------------------------------------------------------------------------------- /pkg/p2p/serializer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/serializer.go -------------------------------------------------------------------------------- /pkg/p2p/serializer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/serializer_test.go -------------------------------------------------------------------------------- /pkg/p2p/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/server.go -------------------------------------------------------------------------------- /pkg/p2p/server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/server_test.go -------------------------------------------------------------------------------- /pkg/p2p/server_wrapper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/p2p/server_wrapper.go -------------------------------------------------------------------------------- /pkg/pdutil/api_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/pdutil/api_client.go -------------------------------------------------------------------------------- /pkg/pdutil/clock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/pdutil/clock.go -------------------------------------------------------------------------------- /pkg/pdutil/clock_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/pdutil/clock_test.go -------------------------------------------------------------------------------- /pkg/pdutil/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/pdutil/main_test.go -------------------------------------------------------------------------------- /pkg/pdutil/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/pdutil/utils.go -------------------------------------------------------------------------------- /pkg/pdutil/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/pdutil/utils_test.go -------------------------------------------------------------------------------- /pkg/quotes/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/quotes/main_test.go -------------------------------------------------------------------------------- /pkg/quotes/quotes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/quotes/quotes.go -------------------------------------------------------------------------------- /pkg/quotes/quotes_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/quotes/quotes_test.go -------------------------------------------------------------------------------- /pkg/redo/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/redo/config.go -------------------------------------------------------------------------------- /pkg/redo/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/redo/config_test.go -------------------------------------------------------------------------------- /pkg/retry/error_retry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/retry/error_retry.go -------------------------------------------------------------------------------- /pkg/retry/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/retry/main_test.go -------------------------------------------------------------------------------- /pkg/retry/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/retry/options.go -------------------------------------------------------------------------------- /pkg/retry/retry_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/retry/retry_test.go -------------------------------------------------------------------------------- /pkg/security/credential.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/security/credential.go -------------------------------------------------------------------------------- /pkg/security/sasl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/security/sasl.go -------------------------------------------------------------------------------- /pkg/security/sasl_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/security/sasl_test.go -------------------------------------------------------------------------------- /pkg/security/test_util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/security/test_util.go -------------------------------------------------------------------------------- /pkg/sink/codec/decoder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/codec/decoder.go -------------------------------------------------------------------------------- /pkg/sink/codec/encoder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/codec/encoder.go -------------------------------------------------------------------------------- /pkg/sink/codec/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/codec/metrics.go -------------------------------------------------------------------------------- /pkg/sink/kafka/admin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/kafka/admin.go -------------------------------------------------------------------------------- /pkg/sink/kafka/factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/kafka/factory.go -------------------------------------------------------------------------------- /pkg/sink/kafka/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/kafka/metrics.go -------------------------------------------------------------------------------- /pkg/sink/kafka/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/kafka/options.go -------------------------------------------------------------------------------- /pkg/sink/kafka/sarama.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/kafka/sarama.go -------------------------------------------------------------------------------- /pkg/sink/kafka/v2/admin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/kafka/v2/admin.go -------------------------------------------------------------------------------- /pkg/sink/mysql/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/mysql/config.go -------------------------------------------------------------------------------- /pkg/sink/mysql/factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/mysql/factory.go -------------------------------------------------------------------------------- /pkg/sink/mysql/mock_db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/mysql/mock_db.go -------------------------------------------------------------------------------- /pkg/sink/observer/dummy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/observer/dummy.go -------------------------------------------------------------------------------- /pkg/sink/observer/tidb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/observer/tidb.go -------------------------------------------------------------------------------- /pkg/sink/pulsar/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/pulsar/config.go -------------------------------------------------------------------------------- /pkg/sink/pulsar/factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/pulsar/factory.go -------------------------------------------------------------------------------- /pkg/sink/pulsar/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/pulsar/logger.go -------------------------------------------------------------------------------- /pkg/sink/sink_type.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sink/sink_type.go -------------------------------------------------------------------------------- /pkg/spanz/btree_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/spanz/btree_map.go -------------------------------------------------------------------------------- /pkg/spanz/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/spanz/convert.go -------------------------------------------------------------------------------- /pkg/spanz/convert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/spanz/convert_test.go -------------------------------------------------------------------------------- /pkg/spanz/hash_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/spanz/hash_map.go -------------------------------------------------------------------------------- /pkg/spanz/hash_map_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/spanz/hash_map_test.go -------------------------------------------------------------------------------- /pkg/spanz/set.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/spanz/set.go -------------------------------------------------------------------------------- /pkg/spanz/set_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/spanz/set_test.go -------------------------------------------------------------------------------- /pkg/spanz/span.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/spanz/span.go -------------------------------------------------------------------------------- /pkg/spanz/span_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/spanz/span_test.go -------------------------------------------------------------------------------- /pkg/spanz/sync_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/spanz/sync_map.go -------------------------------------------------------------------------------- /pkg/sqlmodel/causality.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sqlmodel/causality.go -------------------------------------------------------------------------------- /pkg/sqlmodel/multirow.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sqlmodel/multirow.go -------------------------------------------------------------------------------- /pkg/sqlmodel/reduce.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sqlmodel/reduce.go -------------------------------------------------------------------------------- /pkg/sqlmodel/row_change.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sqlmodel/row_change.go -------------------------------------------------------------------------------- /pkg/sqlmodel/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sqlmodel/utils.go -------------------------------------------------------------------------------- /pkg/sqlmodel/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/sqlmodel/utils_test.go -------------------------------------------------------------------------------- /pkg/tcpserver/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/tcpserver/main_test.go -------------------------------------------------------------------------------- /pkg/txnutil/gc/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/txnutil/gc/doc.go -------------------------------------------------------------------------------- /pkg/txnutil/gc/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/txnutil/gc/metrics.go -------------------------------------------------------------------------------- /pkg/txnutil/gc/testing.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/txnutil/gc/testing.go -------------------------------------------------------------------------------- /pkg/types/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/types/main_test.go -------------------------------------------------------------------------------- /pkg/types/urls.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/types/urls.go -------------------------------------------------------------------------------- /pkg/types/urls_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/types/urls_test.go -------------------------------------------------------------------------------- /pkg/upstream/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/upstream/main_test.go -------------------------------------------------------------------------------- /pkg/upstream/manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/upstream/manager.go -------------------------------------------------------------------------------- /pkg/upstream/topo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/upstream/topo.go -------------------------------------------------------------------------------- /pkg/upstream/upstream.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/upstream/upstream.go -------------------------------------------------------------------------------- /pkg/util/atomic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/atomic.go -------------------------------------------------------------------------------- /pkg/util/atomic_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/atomic_test.go -------------------------------------------------------------------------------- /pkg/util/bitflag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/bitflag.go -------------------------------------------------------------------------------- /pkg/util/bitflag_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/bitflag_test.go -------------------------------------------------------------------------------- /pkg/util/cancel_monitor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/cancel_monitor.go -------------------------------------------------------------------------------- /pkg/util/comparison.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/comparison.go -------------------------------------------------------------------------------- /pkg/util/failpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/failpoint.go -------------------------------------------------------------------------------- /pkg/util/identity.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/identity.go -------------------------------------------------------------------------------- /pkg/util/json_writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/json_writer.go -------------------------------------------------------------------------------- /pkg/util/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/main_test.go -------------------------------------------------------------------------------- /pkg/util/memory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/memory.go -------------------------------------------------------------------------------- /pkg/util/memory_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/memory_test.go -------------------------------------------------------------------------------- /pkg/util/pointer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/pointer.go -------------------------------------------------------------------------------- /pkg/util/runnable.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/runnable.go -------------------------------------------------------------------------------- /pkg/util/test_helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/test_helper.go -------------------------------------------------------------------------------- /pkg/util/time.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/time.go -------------------------------------------------------------------------------- /pkg/util/tz.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/tz.go -------------------------------------------------------------------------------- /pkg/util/tz_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/tz_test.go -------------------------------------------------------------------------------- /pkg/util/uri.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/uri.go -------------------------------------------------------------------------------- /pkg/util/uri_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/util/uri_test.go -------------------------------------------------------------------------------- /pkg/uuid/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/uuid/mock.go -------------------------------------------------------------------------------- /pkg/uuid/uuid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/uuid/uuid.go -------------------------------------------------------------------------------- /pkg/uuid/uuid_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/uuid/uuid_test.go -------------------------------------------------------------------------------- /pkg/version/check.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/version/check.go -------------------------------------------------------------------------------- /pkg/version/check_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/version/check_test.go -------------------------------------------------------------------------------- /pkg/version/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/version/main_test.go -------------------------------------------------------------------------------- /pkg/version/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/version/version.go -------------------------------------------------------------------------------- /pkg/workerpool/hash.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/workerpool/hash.go -------------------------------------------------------------------------------- /pkg/workerpool/pool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/pkg/workerpool/pool.go -------------------------------------------------------------------------------- /proto/CDCPeerToPeer.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/proto/CDCPeerToPeer.proto -------------------------------------------------------------------------------- /proto/CanalProtocol.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/proto/CanalProtocol.proto -------------------------------------------------------------------------------- /proto/CraftBenchmark.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/proto/CraftBenchmark.proto -------------------------------------------------------------------------------- /proto/EntryProtocol.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/proto/EntryProtocol.proto -------------------------------------------------------------------------------- /scripts/avro-local-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/scripts/avro-local-test.sh -------------------------------------------------------------------------------- /scripts/check-copyright.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/scripts/check-copyright.sh -------------------------------------------------------------------------------- /scripts/check-log-style.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/scripts/check-log-style.sh -------------------------------------------------------------------------------- /scripts/download-mc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/scripts/download-mc.sh -------------------------------------------------------------------------------- /scripts/download-protoc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/scripts/download-protoc.sh -------------------------------------------------------------------------------- /scripts/generate-mock.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/scripts/generate-mock.sh -------------------------------------------------------------------------------- /tests/integration_tests/autorandom/conf/tidb_config.toml: -------------------------------------------------------------------------------- 1 | split-table = true 2 | -------------------------------------------------------------------------------- /tests/integration_tests/batch_add_table/conf/changefeed.toml: -------------------------------------------------------------------------------- 1 | [filter] 2 | rules = ['*.*','!test.t_1'] -------------------------------------------------------------------------------- /tests/integration_tests/debezium/changefeed.toml: -------------------------------------------------------------------------------- 1 | force-replicate = true -------------------------------------------------------------------------------- /tests/integration_tests/force_replicate_table/conf/changefeed.toml: -------------------------------------------------------------------------------- 1 | force-replicate = true 2 | -------------------------------------------------------------------------------- /tests/integration_tests/force_replicate_table/conf/tidb_config.toml: -------------------------------------------------------------------------------- 1 | alter-primary-key = true 2 | -------------------------------------------------------------------------------- /tests/integration_tests/foreign_key/conf/cf.toml: -------------------------------------------------------------------------------- 1 | [filter] 2 | rules = ['*.*', '!foreign_key.t12'] -------------------------------------------------------------------------------- /tests/integration_tests/generate_column/conf/changefeed.toml: -------------------------------------------------------------------------------- 1 | force-replicate = true 2 | -------------------------------------------------------------------------------- /tests/integration_tests/sequence/conf/force_replicate.toml: -------------------------------------------------------------------------------- 1 | force-replicate=true 2 | -------------------------------------------------------------------------------- /third-party-license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/third-party-license.txt -------------------------------------------------------------------------------- /tools/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/tools/Makefile -------------------------------------------------------------------------------- /tools/check/check-tidy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/tools/check/check-tidy.sh -------------------------------------------------------------------------------- /tools/check/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/tools/check/go.mod -------------------------------------------------------------------------------- /tools/check/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/tools/check/go.sum -------------------------------------------------------------------------------- /tools/check/tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingcap/tiflow/HEAD/tools/check/tools.go --------------------------------------------------------------------------------