Hi I am trying to setup a 3 master node redis cluster. I am getting the following error:
[ksanthanam@lab1 ~]$ sudo /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb create --replicas 0 127.0.0.1:7000, 127.0.0.1:7001, 127.0.0.1:7002
>>> Creating cluster
Connecting to node 127.0.0.1:7000,: OK
Connecting to node 127.0.0.1:7001,: OK
Connecting to node 127.0.0.1:7002: OK
>>> Performing hash slots allocation on 3 nodes...
Using 3 masters:
127.0.0.1:7000,
127.0.0.1:7001,
127.0.0.1:7002
M: 28bc45df18fe1ee259043e388bd529343562fad7 127.0.0.1:7000,
slots:0-5460 (5461 slots) master
M: 90204add9e8c47a0b94b76acf04c3d981a34b72f 127.0.0.1:7001,
slots:5461-10922 (5462 slots) master
M: fd9e1eb017a53d46e234a390af2e34508d21bf45 127.0.0.1:7002
slots:10923-16383 (5461 slots) master
Can I set the above configuration? (type 'yes' to accept): yes
/usr/lib/ruby/gems/1.8/gems/redis-3.1.0/lib/redis/client.rb:103:in `call': ERR Slot 4648 is already busy (Redis::CommandError)
from /usr/lib/ruby/gems/1.8/gems/redis-3.1.0/lib/redis.rb:2486:in `method_missing'
from /usr/lib/ruby/gems/1.8/gems/redis-3.1.0/lib/redis.rb:37:in `synchronize'
from /usr/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize'
from /usr/lib/ruby/gems/1.8/gems/redis-3.1.0/lib/redis.rb:37:in `synchronize'
from /usr/lib/ruby/gems/1.8/gems/redis-3.1.0/lib/redis.rb:2485:in `method_missing'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:203:in `flush_node_config'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:629:in `flush_nodes_config'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:628:in `each'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:628:in `flush_nodes_config'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:964:in `create_cluster_cmd'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:1340:in `send'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:1340
[ksanthanam@lab1 ~]$ sudo /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb create --replicas 0 127.0.0.1:7000, 127.0.0.1:7001, 127.0.0.1:7002
>>> Creating cluster
Connecting to node 127.0.0.1:7000,: OK
Connecting to node 127.0.0.1:7001,: OK
Connecting to node 127.0.0.1:7002: OK
>>> Performing hash slots allocation on 3 nodes...
Using 3 masters:
127.0.0.1:7000,
127.0.0.1:7001,
127.0.0.1:7002
M: 28bc45df18fe1ee259043e388bd529343562fad7 127.0.0.1:7000,
slots:0-5460 (5461 slots) master
M: 90204add9e8c47a0b94b76acf04c3d981a34b72f 127.0.0.1:7001,
slots:5461-10922 (5462 slots) master
M: fd9e1eb017a53d46e234a390af2e34508d21bf45 127.0.0.1:7002
slots:10923-16383 (5461 slots) master
Can I set the above configuration? (type 'yes' to accept): yes
/usr/lib/ruby/gems/1.8/gems/redis-3.1.0/lib/redis/client.rb:103:in `call': ERR Slot 4648 is already busy (Redis::CommandError)
from /usr/lib/ruby/gems/1.8/gems/redis-3.1.0/lib/redis.rb:2486:in `method_missing'
from /usr/lib/ruby/gems/1.8/gems/redis-3.1.0/lib/redis.rb:37:in `synchronize'
from /usr/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize'
from /usr/lib/ruby/gems/1.8/gems/redis-3.1.0/lib/redis.rb:37:in `synchronize'
from /usr/lib/ruby/gems/1.8/gems/redis-3.1.0/lib/redis.rb:2485:in `method_missing'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:203:in `flush_node_config'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:629:in `flush_nodes_config'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:628:in `each'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:628:in `flush_nodes_config'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:964:in `create_cluster_cmd'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:1340:in `send'
from /usr/local/src/redis-3.0.0-beta8/src/redis-trib.rb:1340
[ksanthanam@lab1 ~]$