vipshop / redis-migrate-tool

A convenient and useful tool for migrating data between redis group.
Apache License 2.0
958 stars 319 forks source link

50514 segmentation fault #79

Open yaohuiwu opened 5 years ago

yaohuiwu commented 5 years ago

环境: Mac pro,single to redis cluster

错误信息: $src/redis-migrate-tool -c rmt-s2c.conf [2019-07-23 15:27:25.798] rmt_core.c:525 Nodes count of source group : 1 [2019-07-23 15:27:25.798] rmt_core.c:526 Total threads count : 8 [2019-07-23 15:27:25.798] rmt_core.c:527 Read threads count assigned: 1 [2019-07-23 15:27:25.798] rmt_core.c:528 Write threads count assigned: 1 [1] 50514 segmentation fault src/redis-migrate-tool -c rmt-s2c.conf

rmt-s2c.conf:

[source] type: single servers: -127.0.0.1:6379

[target] type: redis cluster servers: -127.0.0.1:7000

[common] listen: 0.0.0.0:8000

zouzc commented 5 years ago

试下将目标redis先关闭,删除目标的rdb文件。前提: 目标redis不包含除源redis以外的数据, 同样遇到这个问题按上述操作