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

数据迁移总是失败(数据量不大) #61

Open yinbingqiu opened 6 years ago

yinbingqiu commented 6 years ago

我的配置 `

[source] type: rdb file redis_auth: xxxx servers: -node10.154.147.29:7006-1536127745121860-26281.rdb -node10.154.147.29:7006-1536128406500080-28002.rdb -node10.154.147.29:7006-1536167138830003-25713.rdb [target] type: redis cluster redis_auth: dingXiang123 servers: -127.0.0.1:8002 [common] listen: 0.0.0.0:9999

` 在执行数据迁移的时候,日志里面的read thread count总是为0,新集群的数据也并没有进去,我想问一下这是什么原因

[admin@redis-3 redis-migrate-tool]$ tail -f redis-migrate.log [2018-09-06 12:41:08.566] rmt_core.c:2444 Total threads count in fact: 3 [2018-09-06 12:41:08.566] rmt_core.c:2445 Read threads count in fact: 0 [2018-09-06 12:41:08.566] rmt_core.c:2446 Write threads count in fact: 3 [2018-09-06 12:41:08.566] rmt_core.c:2488 write thread(0): [2018-09-06 12:41:08.566] rmt_core.c:2494 node10.154.147.29:7006-1536167138830003-25713.rdb [2018-09-06 12:41:08.566] rmt_core.c:2488 write thread(1): [2018-09-06 12:41:08.566] rmt_core.c:2494 node10.154.147.29:7006-1536128406500080-28002.rdb [2018-09-06 12:41:08.566] rmt_core.c:2488 write thread(2): [2018-09-06 12:41:08.566] rmt_core.c:2494 node10.154.147.29:7006-1536127745121860-26281.rdb [2018-09-06 12:41:08.566] rmt_core.c:2551 migrate job is running... (日志到这里以后就一直不动了)

使用redis-cli -h -p 9999发现这个端口也没有在工作(迁移失败)