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

healthcheck after backup should be run only for offline backups #5129

Merged
merged 2 commits into from
Aug 26, 2019

Conversation

deepthi
Copy link
Member

@deepthi deepthi commented Aug 23, 2019

This is a follow up to #5066
Since we no longer take the action lock while running online backups (aka xtrabackup), healthcheck will run on the normal schedule. Hence there is no need to call it explicitly when the backup finishes. Further, healthcheck is supposed to take the action lock before running, so it is incorrect to call agent.runHealthCheckLocked() when we are not holding the action lock.

Signed-off-by: deepthi deepthi@planetscale.com

Signed-off-by: deepthi <deepthi@planetscale.com>
@deepthi deepthi requested a review from sougou as a code owner August 23, 2019 17:31
@deepthi deepthi requested a review from enisoc August 23, 2019 17:32
Signed-off-by: deepthi <deepthi@planetscale.com>
@sougou sougou merged commit 91ad492 into vitessio:master Aug 26, 2019
@deepthi deepthi deleted the ds-bkup-hchk branch July 6, 2020 19:03
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.

2 participants