Concept Flow - Client discovery through Sentinel
Client starts
Query Sentinel for master info
Sentinel responds with master address
Client connects to master
If master fails
Sentinel elects new master
Client queries Sentinel again
Client connects to new master
Repeat as needed
Client asks Sentinel for the current master address, connects to it, and if the master changes, repeats the discovery to stay connected to the right server.