首页 > 其他 > 详细

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 01:04:24      阅读:108      评论:0      收藏:0      [点我收藏+]

[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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!