We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/mysqljs/mysql#poolcluster
as shown in the mysql poolCluster documentation, the poolCluster emits a remove event when a node is removed.
// Target Group : SLAVE1-2, Selector : order // If can't connect to SLAVE1, return SLAVE2. (remove SLAVE1 in the cluster) poolCluster.on('remove', function (nodeId) { console.log('REMOVED NODE : ' + nodeId); // nodeId = SLAVE1 });
mariadb does not support this:
poolCluster.on('remove', function (nodeId) { TypeError: poolCluster.on is not a function
The text was updated successfully, but these errors were encountered:
Thanks for pointing that out ! done with commit 95f6068 .
This will be in the next version (2.0.6)
Sorry, something went wrong.
No branches or pull requests
https://github.com/mysqljs/mysql#poolcluster
as shown in the mysql poolCluster documentation, the poolCluster emits a remove event when a node is removed.
mariadb does not support this:
The text was updated successfully, but these errors were encountered: