What strategy should the connector use when the Server connection string option contains multiple comma-delimited host names?
- Ordered: always try the first, fall back to the second, then the third
- Random: pick one at random
- Round-robin: use a global synchronized index (that wraps around) and cycle through them in order
The behaviour doesn't seem to be specified in the MySQL documentation, nor described in our docs. I believe we currently do "Ordered". Do we want to provide a guarantee; if so, which behavior is most appropriate?
(I haven't checked the Connector/NET source code to see what it might have done back when it supported comma-delimited host names.)
Related to #225
CC @caleblloyd
What strategy should the connector use when the
Serverconnection string option contains multiple comma-delimited host names?The behaviour doesn't seem to be specified in the MySQL documentation, nor described in our docs. I believe we currently do "Ordered". Do we want to provide a guarantee; if so, which behavior is most appropriate?
(I haven't checked the Connector/NET source code to see what it might have done back when it supported comma-delimited host names.)
Related to #225
CC @caleblloyd