[CONJS-169] Support failover and/or high-availability/load-balancing from Node.JS connector Created: 2021-06-14 Updated: 2021-09-15 Resolved: 2021-09-15 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | configuration |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Major |
| Reporter: | Rob Schwyzer | Assignee: | Diego Dupin |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Due to recent changes in MaxScale v2.5, the connector must provide failover functionality rather than Keepalived/F5/etc. See rationale for why Until a customer can specify multiple endpoints for a connection via Connector/node.js, there is no supported mechanism for customers to leverage Cooperative Monitoring while using Connector/node.js. Note that Connector/J provides a robust feature set which could make sense to copy or draw inspiration from- |
| Comments |
| Comment by Diego Dupin [ 2021-06-15 ] | ||||||||
|
There is already some multiple host functionality: see https://github.com/mariadb-corporation/mariadb-connector-nodejs/blob/master/documentation/promise-api.md#pool-cluster-api example :
This permit to use multiple maxscales, using the actives ones. Do you thing there is something else missing ? | ||||||||
| Comment by Rob Schwyzer [ 2021-06-15 ] | ||||||||
|
I am very sorry, I missed this on first check. This looks great and should work very well! Thank you very much! | ||||||||
| Comment by Diego Dupin [ 2021-09-15 ] | ||||||||
|
rob.schwyzer@mariadb.com closing it now, please create a new task / reopen this if thinking there is still something missing |