tools/codis2pika/README.md
Codis2pika is a tool used to migrate codis data to pika. The main purpose is to support the migration of Codis sharding mode to Pika classic mode.
codis2pika 参考借鉴了阿里开源的redis-shake项目,并进行了定制化的改造。因此基本的功能特性与原工具一致,但是功能上存在差异。
Same features as the original:
Some features of codis2pika:
Release: https://github.com/GetuiLaboratory/codis2pika/releases
After downloading the source code, run the sh build. sh command to compile.
sh build.sh
./bin/codis2pika codis2pika.toml
The codis2pika configuration file refers to codis2pika. toml. To avoid ambiguity, it is mandatory to assign values to each configuration in the configuration file, otherwise an error will be reported.
codis2pika supports custom filtering rules using lua scripts. codis2pika can be started with the following command:
./bin/codis2pika codis2pika.toml filter/xxx.lua
However, the lua data filtering function has not been verified. Please refer to the redis shark project if necessary.
compact;It is recommended to configure the monitoring disk in advance to have a visual grasp of the migration process.
Alibaba open-source redis-full-check is recommended.