Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.0
-
None
Description
A common issue I've seen is that users set up an HA master setup (3 masters) but then in various cases only specify one of the masters when they try to connect using the client. This currently will work if it happens that they picked the leader master, and otherwise will return a s omewhat confusing "no leader" error message.
We should improve usability here by having the master send back a list of the master addresses in the case that it isn't the leader, and the client can use this to provide a more actionable error message like "Client connection specified only a subset of the cluster's masters" or somesuch.
I wouldn't want to automatically reconfigure the client and reconnect because this puts the client in a configuration state that will fail once the one master they specified goes down.