Table-Migrator helps users easily and automatically online-migrate table from one cluster to another. The client side does not even need to restart and the server side can complete the migration of the entire table and continue to provide services to the client through the new cluster. There are a few points to note:
duplication only supports pegasus-data with v1, only tables with v1 are supported table migration. Otherwise, not support error will be returnedThe entire table migration process includes the following steps:
duplication task for the target cluster. The task will first migrate the chekpoint data, and then start to migrate the incremental data via plog-t | --table: name of the table to be migrated
-n | --node: the zookeeper address configured by the metaproxy. If it is not specified, the zookeeper address configured by the current cluster will be used by default. Please check the metaproxy service to confirm the correct address
-r | -- root: the zookeeper root path of the metaproxy configuration. If it is not specified, it means that you are not going to use metaproxy to complete the automatic switching of the client cluster
-c | --cluster: name of the target cluster
-m | --meta: meta address of the target cluster
-p | --threshold: the threshold value of the number of remaining incremental data pieces. When the threshold value is reached, write prohibition will be enabled for the source cluster. The default value is 10K