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

myhoard: On basebackup command failure raise XtraBackupError #39

Conversation

willrouesnel-aivenio
Copy link
Contributor

@willrouesnel-aivenio willrouesnel-aivenio commented Sep 16, 2020

Identity failures of the backup process command as a specific exception type rather then just Exception, then filter them out of the normal unexpected_exception dispatch. This is because they can't raise any possible error which can be dealt with by looking at Sentry, and don't include any useful error data.

@rikonen
Copy link
Collaborator

rikonen commented Sep 16, 2020

Static checks fail, otherwise lgtm

@willrouesnel-aivenio willrouesnel-aivenio force-pushed the willrouesnel/ch19530/suppress-backup-failures-from-reporting-as branch from 49b5658 to a61e52c Compare September 16, 2020 06:14
@rikonen
Copy link
Collaborator

rikonen commented Sep 16, 2020

Apparently pylint version has changed and some unrelated changes are required to make that pass

@willrouesnel-aivenio
Copy link
Contributor Author

Apparently pylint version has changed and some unrelated changes are required to make that pass

Noticed that. I think this needs to brought inline with the config we have pghoard.

@willrouesnel-aivenio willrouesnel-aivenio force-pushed the willrouesnel/ch19530/suppress-backup-failures-from-reporting-as branch 4 times, most recently from 65964d0 to 6297942 Compare September 16, 2020 11:25
@willrouesnel-aivenio willrouesnel-aivenio force-pushed the willrouesnel/ch19530/suppress-backup-failures-from-reporting-as branch 2 times, most recently from f319c51 to aa1eaf5 Compare September 25, 2020 04:36
.travis.yml Outdated Show resolved Hide resolved
.travis.yml Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@willrouesnel-aivenio willrouesnel-aivenio force-pushed the willrouesnel/ch19530/suppress-backup-failures-from-reporting-as branch 3 times, most recently from 49336a1 to d73ddad Compare September 25, 2020 05:51
Identity failures of the backup process command as a specific exception
type rather then just Exception, then filter them out of the normal
unexpected_exception dispatch. This is because they can't raise any
possible error which can be dealt with by looking at Sentry, and don't
include any useful error data.
@willrouesnel-aivenio willrouesnel-aivenio force-pushed the willrouesnel/ch19530/suppress-backup-failures-from-reporting-as branch from d73ddad to f5a93cb Compare September 25, 2020 13:07
@willrouesnel-aivenio
Copy link
Contributor Author

Everything here is rebased on the other fix, so this should be good to go now.

@rikonen rikonen merged commit abc07db into master Sep 25, 2020
@rikonen rikonen deleted the willrouesnel/ch19530/suppress-backup-failures-from-reporting-as branch September 25, 2020 15:01
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