-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Platform][2.4] Backup deletion script failure should not cause retries #7988
Comments
Because #7780 is now fixed; this bug has become critical. We should expect lot of old backup deletion attempts and many of them will fails since they are actually already deleted manually as a workaround. |
FYI @CharlotteRose |
WesleyW
added a commit
that referenced
this issue
Apr 9, 2021
Summary: The `__file__` variable is not set when the `atexit` handlers are called. Instead, store the value beforehand and save it. Note: even if the exit handlers error, the return code will not change. Test Plan: yb_backup Reviewers: arnav, daniel, sb-yb Reviewed By: sb-yb Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D11206
sb-yb
added a commit
that referenced
this issue
Apr 10, 2021
Summary: - It will always transition backup to deleted state - no matter what and ignore all the errors. - Removed ton of redundant and unnecessary code. Test Plan: WIP Reviewers: wesley Reviewed By: wesley Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D11207
WesleyW
added a commit
that referenced
this issue
Apr 12, 2021
Summary: The `__file__` variable is not set when the `atexit` handlers are called. Instead, store the value beforehand and save it. Note: even if the exit handlers error, the return code will not change. Test Plan: yb_backup Reviewers: arnav, daniel, sb-yb Reviewed By: sb-yb Subscribers: yugaware, jenkins-bot Differential Revision: https://phabricator.dev.yugabyte.com/D11209
sb-yb
added a commit
that referenced
this issue
Apr 12, 2021
Summary: Backport for ignoring backup deletion failures. Original commit: D11207 / 9d00b8b Test Plan: Unit test Reviewers: spotachev, wesley Reviewed By: wesley Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D11224
WesleyW
added a commit
that referenced
this issue
May 3, 2021
Summary: The `__file__` variable is not set when the `atexit` handlers are called. Instead, store the value beforehand and save it. Backports D11206 Test Plan: Check yb_backup Reviewers: arnav, daniel, sb-yb, jvigil Reviewed By: jvigil Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D11445
YintongMa
pushed a commit
to YintongMa/yugabyte-db
that referenced
this issue
May 26, 2021
Summary: The `__file__` variable is not set when the `atexit` handlers are called. Instead, store the value beforehand and save it. Note: even if the exit handlers error, the return code will not change. Test Plan: yb_backup Reviewers: arnav, daniel, sb-yb Reviewed By: sb-yb Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D11206
YintongMa
pushed a commit
to YintongMa/yugabyte-db
that referenced
this issue
May 26, 2021
Summary: - It will always transition backup to deleted state - no matter what and ignore all the errors. - Removed ton of redundant and unnecessary code. Test Plan: WIP Reviewers: wesley Reviewed By: wesley Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D11207
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When backup reference in yw db is so old that node does not exist anymore. The backup script fails. We should ignore such failure otherwise it keeps retrying and clogs the task framework.
Ideally in future we should have exponential backoff + limit on max retries.
The text was updated successfully, but these errors were encountered: