标签:over war from slots ted sub arguments oca warning
[root@localhost src]# ruby redis-trib.rb reshard 127.0.0.1 7000 --from 7ad192ef15a2eb136b8ae677e75a88799877c04e --to a3149dc5196622de43e3be6501368267b334eb18 --slots 1
redis-trib.rb:1573: warning: key "threshold" is duplicated and overwritten on line 1573
[ERR] Wrong number of arguments for specified sub command
出现上述错误,看代码后得知,是因为 reshard命令的参数个数只能是两个
ruby redis-trib.rb reshard 127.0.0.1:7000
后续根据提示进行填充即可
标签:over war from slots ted sub arguments oca warning
原文地址:https://www.cnblogs.com/liumy11111/p/12820124.html