首页 > 数据库> > redis-trib.rb reshard 出现错误redis-trib.rb:1573: warning: key "threshold" is duplicated and o
redis-trib.rb reshard 出现错误redis-trib.rb:1573: warning: key "threshold" is duplicated and o
作者:互联网
[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
后续根据提示进行填充即可
标签:ERR,redis,trib,reshard,rb,1573 来源: https://www.cnblogs.com/liumy11111/p/12820124.html