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


[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

后續根據提示進行填充即可


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM