Skip to content
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

Set slave_uuid and replica_uuid #656

Merged
merged 2 commits into from
Dec 17, 2021

Conversation

lance6716
Copy link
Collaborator

@lance6716 lance6716 commented Dec 17, 2021

close #618

I'll see how to add a test in this repo soon. For now the manually test result is

with this PR

MySQL [(none)]> show slave hosts;
+-----------+----------------------+------+-----------+--------------------------------------+
| Server_id | Host                 | Port | Master_id | Slave_UUID                           |
+-----------+----------------------+------+-----------+--------------------------------------+
|       101 | lance6716-nuc10i7fnh | 3306 |         1 | 53cd72fc-5efc-11ec-b783-1c697a65dfdc |
+-----------+----------------------+------+-----------+--------------------------------------+

without this PR

MySQL [(none)]> show slave hosts;
ERROR 2027 (HY000): Malformed packet

@lance6716 lance6716 requested a review from atercattus December 17, 2021 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR 2027 (HY000): Malformed packet
2 participants