If you use Sentinel to manage two Master two from, in the form of a master-to-one from, PHP to which to write content, currently connected Sentinel cannot write.
Ideas have the following:
When PHP is directly connected to Sentinel Sentinel is done as a server, but Sentinel does not support regular Redis commands such as set, so you should not be able to connect to Redis Sentinel,
If PHP directly connects to the main service, Sentinel will switch from server to service after the main service has collapsed and PHP cannot switch in real time.
Have you ever had a problem with this question before, can you share the solution or ideas, thank you in advance
Reply content:
If you use Sentinel to manage two Master two from, in the form of a master-to-one from, PHP to which to write content, currently connected Sentinel cannot write.
Ideas have the following:
When PHP is directly connected to Sentinel Sentinel is done as a server, but Sentinel does not support regular Redis commands such as set, so you should not be able to connect to Redis Sentinel,
If PHP directly connects to the main service, Sentinel will switch from server to service after the main service has collapsed and PHP cannot switch in real time.
Have you ever had a problem with this question before, can you share the solution or ideas, thank you in advance