./redis-trib.rb 报错:/usr/local/rvm/gems/ruby-2.4.2/gems/redis-4.0.1/lib/redis/client.rb:119:in `call': ERR Slot 0 is already busy (Redis::CommandError)

The error message is

      The slot slot is occupied (this is before the cluster was built, the old data and configuration information of redis were not cleaned up.)

The solution is

          Log in to each node with redis-cli and execute flushall and cluster reset.

Then re-execute the cluster script command:

./redis-trib.rb create --replicas 1 192.168.*.*:7001 192.168.*.*:7002 192.168.*.*:7003 192.168.*.*:7004 192.168.*.*:7005  192.168.*.*:7006

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325900397&siteId=291194637