tair-opensource / RedisShake

RedisShake is a Redis data processing and migration tool.
https://tair-opensource.github.io/RedisShake/
MIT License
3.86k stars 699 forks source link

bug fix prefer replica in master-slave mode #827

Closed blight19 closed 5 months ago

blight19 commented 5 months ago

https://github.com/tair-opensource/RedisShake/issues/826 in master-slave mode,redis server doesn't support "readonly" command,and this will cause panic. read slave infomation from "info" command ,and chose the best one based on offset.