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

release-20.1: backupccl: properly propagate error when failing to commit job txn #54968

Merged
merged 2 commits into from
Oct 9, 2020

Conversation

ajwerner
Copy link
Contributor

Backport 2/2 commits from #54577.

/cc @cockroachdb/release


This bug was introduced in 20.1. It means that any errors to commit the job
are not reported and instead an inscrutible error is reported.

 ERROR: cannot resume *backupccl.backupResumer job which is not committed

Release note (bug fix): Fixed a bug which lead to inscrutible errors being
returned when creating a backup failed, for example, due to protected timestamp
limits.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@miretskiy miretskiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 2 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @miretskiy)

@miretskiy miretskiy self-requested a review September 29, 2020 20:44
This bug was introduced in 20.1. It means that any errors to commit the job
are not reported and instead an inscrutible error is reported.

```
 ERROR: cannot resume *backupccl.backupResumer job which is not committed
```

Fixes cockroachdb#54572.

Release note (bug fix): Fixed a bug which lead to inscrutible errors being
returned when creating a backup failed, for example, due to protected timestamp
limits.
Before this error was swallowed. It's not known that an error is ever really
returned here and there's no sentry report indicating that there has been
one so omitting a release note.

Release note: None
@ajwerner ajwerner merged commit 22c2db2 into cockroachdb:release-20.1 Oct 9, 2020
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.

None yet

4 participants