Goal is to permit setting some failover capability on connector level.
Configuration must permit setting multiple hosts/ports. Then, when trying to establish a connection, connector will trying to connect those hosts sequentially until success or throwing error if last host connection fails.
This would permit failover on multiple maxscale instances, avoiding use additional tools that monitor maxscales state.
UPDATE: This task would cover the failover, CONPY-146 the loadbalancing
The feature itself is provided by MariaDB Connector/C 3.3 -
- For Windows, MariaDB Connector/C 3.3 is linked statically with this release
- For Linux, MariaDB Connector/C 3.3 needs to be installed
- Tests have been added
- The host argument for function mariadb.connect can be specified as a comma-separated list containing multiple server addresses