Home > Back-end >  2020-01-25: redis, sentry how elections?
2020-01-25: redis, sentry how elections?

Time:01-26

2020-01-25: redis, sentry how elections? # # f greatly architects a daily topic

CodePudding user response:

Redis - sentinel failover processes:

1. When multiple sentinel discovered and confirmed that there is something wrong with the master

2. Then elects a sentinel as leadership

3. To elect a slave as master

4. Notice the rest of the slave, who is the new master

5. Notice the change of the client a master-slave

6. In the end, the sentinel will wait for the old master raised, then put the new master became a slave
  • Related