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

VTBackup continues working even if MySQL exited unexpectedly #17355

Open
frouioui opened this issue Dec 9, 2024 · 0 comments
Open

VTBackup continues working even if MySQL exited unexpectedly #17355

frouioui opened this issue Dec 9, 2024 · 0 comments
Labels
Component: Backup and Restore Type: Enhancement Logical improvement (somewhere between a bug and feature)

Comments

@frouioui
Copy link
Member

frouioui commented Dec 9, 2024

Description

We have observed several vtbackup processes that would continue trying to catch up from the primary after restoring the latest backup even if the mysqld process has been killed. Since the for-loop where we catch up does not have any mechanism to "give up" after a certain number of retries, we continue this indefinitely. Leading to similar logs:

image

Ideally we should have add a new callback when initializing the mysqld process, that would be call on error and that would cancel the vtbackup process.

@frouioui frouioui added Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: Backup and Restore labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Backup and Restore Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

No branches or pull requests

1 participant