我有一个设置:3个哨兵,1个redis主M1,2个redis从S1,S2。我不希望M1掉下来时将S2提升为主控。我该怎么办?
答案 0 :(得分:1)
您可以将S2的slave-priority设置为Find cmd.exe in C:\Windows\system32
Right-click on it and Select Run as Administrator
It will then open the command prompt in the directory C:\Windows\system32
Go to your project directory
Execute Script
,这样它就永远不会升级为精通书本