
這是我的設置
10.1.0.2 - Master (slave-priority 10)
10.1.0.3 - Slave (slave-priority 100)
10.1.0.2 - Sentinel1
10.1.0.3 - Sentinel2
10.1.0.4 - Sentinel3
當主伺服器關閉時,故障轉移按預期工作。然而,當原來的Master已經恢復時,它不會切換回舊的Master。
這是我的設置
10.1.0.2 - Master (slave-priority 10)
10.1.0.3 - Slave (slave-priority 100)
10.1.0.2 - Sentinel1
10.1.0.3 - Sentinel2
10.1.0.4 - Sentinel3
當主伺服器關閉時,故障轉移按預期工作。然而,當原來的Master已經恢復時,它不會切換回舊的Master。