delano / redis-dump

Redis to JSON and nack again
https://rubygems.org/gems/redis-dump
MIT License
825 stars 124 forks source link

ERR SELECT is not allowed in cluster mode #25

Open ghost opened 6 years ago

ghost commented 6 years ago

./bin/redis-dump -u 172.16.10.xx:6379 > db_full.json ERR SELECT is not allowed in cluster mode

redis version 4.0.9 Redis cluster can not use this tool to get data ?

khflx commented 6 years ago

When using Redis Cluster, the SELECT command cannot be used, since Redis Cluster only supports database zero. In the case of Redis Cluster, having multiple databases would be useless, and a worthless source of complexity, because anyway commands operating atomically on a single database would not be possible with the Redis Cluster design and goals.