Skip to content

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

Merged
sougou merged 2 commits intovitessio:masterfrom
planetscale:ds-bkup-hchk
Aug 26, 2019
Merged

healthcheck after backup should be run only for offline backups#5129
sougou merged 2 commits intovitessio:masterfrom
planetscale:ds-bkup-hchk

Conversation

@deepthi
Copy link
Copy Markdown
Collaborator

@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