-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
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
DM replica causes mysql connection to die on SHOW SLAVE HOSTS
#3419
Comments
related to go-mysql-org/go-mysql#618 |
I found a contributor is fixing it go-mysql-org/go-mysql#639 with his PR,
|
That at least is a step in the right direction. It would be great if DM would correctly show in that output, however it it is more important that it won't disturb the output of regular replicas as that might be used by tools like Orchestrator ( https://github.com/openark/orchestrator/blob/1a6c3cd6634ce72bb068de81b6af73691e0ce32c/go/inst/instance_dao.go#L666 ) and Percona Toolkit ( https://github.com/percona/percona-toolkit/blob/5a0cbd79fc644357f0b000dcadd77aa0ed514b65/lib/MasterSlave.pm#L302 ). And this might also be used in company specific tools, monitoring, etc. |
waiting go-mysql-org/go-mysql#655 |
this problem is also related to mysql-client 🤔
and for both version
|
What did you do?
When DM is connected running
SHOW SLAVE HOSTS
fails and causes the connection to fail.What did you expect to see?
Regular output of
SHOW SLAVE HOSTS
as described in https://dev.mysql.com/doc/refman/5.7/en/show-slave-hosts.htmlWhat did you see instead?
Versions of the cluster
DM version (run
dmctl -V
ordm-worker -V
ordm-master -V
):Upstream MySQL/MariaDB server version:
Downstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):How did you deploy DM: tiup or manually?
manually
current status of DM cluster (execute
query-status <task-name>
in dmctl)On the MySQL side GTID has not been enabled.
The text was updated successfully, but these errors were encountered: