Cluster failed

I know that I am asking for something very obvious about cluster failure.

I read on redis.io that if any node master cluster does not work, it will affect other master nodes until the subordinate takes responsibility. In my structure, I do not define a slave and just work with 3 masters.

I am going to modify the redis-trib.rb file which will remove the defective server and start the cluster with the other 2 nodes. I got confused in a few things

1) Resharding

Unable until server crashes

2) Minimum 3 node limit to create a cluster

According to the understanding, the redis-trib.rb bit does not allow me to create a cluster for two nodes. There may be some solution in the code file :)

3) Automatic way to create a new structure with living nodes

, - . -, , Redis Cluster , .

  • redis
  • - [port].conf
  • redis
  • "redis-trib.rb create ip: port ip: port"

:). " " .

- - , .

,

+2
1

, node , . , (-) node.

, ( ). , , ( ).

Redis-trib.rb script 3 , redis- ( node).

.

+1

Source: https://habr.com/ru/post/1659627/


All Articles