码迷,mamicode.com
首页 > 其他好文 > 详细

redis-trib.rb reshard 出现错误redis-trib.rb:1573: warning: key "threshold" is duplicated and overwritten on line 1573 [ERR] Wrong number of arguments for specified sub command

时间:2020-05-03 00:52:41      阅读:67      评论:0      收藏:0      [点我收藏+]

标签: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

后续根据提示进行填充即可

redis-trib.rb reshard 出现错误redis-trib.rb:1573: warning: key "threshold" is duplicated and overwritten on line 1573 [ERR] Wrong number of arguments for specified sub command

标签:over   war   from   slots   ted   sub   arguments   oca   warning   

原文地址:https://www.cnblogs.com/liumy11111/p/12820124.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!