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

Enable for MariaDB failover #7

Closed
ghost opened this issue Aug 2, 2021 · 5 comments
Closed

Enable for MariaDB failover #7

ghost opened this issue Aug 2, 2021 · 5 comments

Comments

@ghost
Copy link

ghost commented Aug 2, 2021

Existing scripts should be adapted to also support replication to a MariaDB instance.

@gregcorbett
Copy link
Member

It would certainly be good for the enhancements listed in #5 and #6 to be incorporated into the MariaDB version from the start.

@gregcorbett
Copy link
Member

Having some easy means of stopping the import from running would be useful.

Perhaps the presence of something like /etc/gocdb/nofailoverimport cause the failover scripts to exit without doing anything.

@ghost
Copy link
Author

ghost commented Sep 20, 2021

Do you want this to exit as if an error, which it isn't really, or pretend that it 'completed ok'?

@gregcorbett
Copy link
Member

Maybe it could output something like the below.

not doing anything with /etc/gocdb/nofailoverimport set
cat contents of /etc/gocdb/nofailoverimport

I think exit and an error is probably for the best, because the intention of the caller was to presumably update the failover DB and that would not be done in this case.

@gregcorbett
Copy link
Member

This has been done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant