RedisLabs / redis-cluster-proxy

A proxy for Redis clusters.
GNU Affero General Public License v3.0
990 stars 129 forks source link

fix bug of evalGetKeys last_key assignment #64

Open HuangZhenLiang opened 4 years ago

HuangZhenLiang commented 4 years ago

127.0.0.1:7777> eval "return KEYS[1]" 1 KEY1 ARGV1 (error) ERR Cross-slot queries are not supported for this command 127.0.0.1:7777> quit

There is an issue of evalGetKeys last_key assignment, it will not working correctly when with arguments in eval command.

chenjie199234 commented 3 years ago

85