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

Check master replication fails when running the cluster the first time #542

Open
XaratosS opened this issue May 17, 2024 · 3 comments
Open

Comments

@XaratosS
Copy link

Hello,

we ran into the following issue:
When we ran your mysql role, the replication didnt work on the slave on the first run. We had to do a second run and then the replication started without any issues.

Following happend: The Check master replication status is being checked before the replication on the slave is being configured. I think, that you the Slave replication status should be checked a second time before you start the replication.

Is it possible to fix it myself and get a merge into this role?

with kind regards.

@XaratosS
Copy link
Author

Also I do have another question. Is there a reason, why you create the databases empy on both servers? The replication dosnt work with newly created databases on the master. The databases will not be created on the slave.

@XaratosS XaratosS reopened this Jun 19, 2024
@lipanpan-hub
Copy link

Hello,

we ran into the following issue: When we ran your mysql role, the replication didnt work on the slave on the first run. We had to do a second run and then the replication started without any issues.

Following happend: The Check master replication status is being checked before the replication on the slave is being configured. I think, that you the Slave replication status should be checked a second time before you start the replication.

Is it possible to fix it myself and get a merge into this role?

with kind regards.

I have exactly the same question

@XaratosS
Copy link
Author

Also I do have another question. Is there a reason, why you create the databases empy on both servers? The replication dosnt work with newly created databases on the master. The databases will not be created on the slave.

You can ignore this one. This was a fail on my side. I forgot to set up the replication variable.

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

No branches or pull requests

2 participants