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 server_id=1 for MySQL in integration tests #364

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

adangel
Copy link
Collaborator

@adangel adangel commented Oct 5, 2023

The latest percona toolkit 3.5.5 contains a change, which makes the toolkit hang when determining the server id (https://jira.percona.com/browse/PT-2268).

The server_id for MySQL 5.7 is 0 by default (https://dev.mysql.com/doc/refman/5.7/en/replication-options.html#sysvar_server_id). For MySQL 8.0 it is 1 (https://dev.mysql.com/doc/refman/8.0/en/replication-options.html#sysvar_server_id) and for MariaDB it is 1 since 10.2.1 (https://mariadb.com/kb/en/replication-and-binary-log-system-variables/#server_id).

This PR sets the server_id to 1 when starting the MySQL docker containers.

Additionally timeouts of 60 minutes (instead of the default 360 minutes) are used for the github job runs.

@adangel adangel added this to the next milestone Oct 5, 2023
@adangel adangel merged commit 9bc822e into liquibase:main Oct 5, 2023
1 check passed
@adangel adangel deleted the set-server-id branch October 5, 2023 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant