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

bulkio: Propagate errors when executing schedule. #54539

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

miretskiy
Copy link
Contributor

@miretskiy miretskiy commented Sep 17, 2020

Informs #54484

Use correct error object when checking for retryable errors.
In addition, add a FOR UPDATE clause when picking up
schedules to execute to reduce contention.

Release Notes: None

Release Justification: Bug fix; Incorrect handling of transaction
errors resulted in scheduled jobs showing incorrect and confusing
status message.

@miretskiy miretskiy requested a review from dt September 17, 2020 22:03
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Use correct error object when checking for retryable errors.
In addition, add a `FOR UPDATE` clause when picking up
schedules to execute to reduce contention.

Release Notes: None

Release Justification: Bug fix; Incorrect handling of transaction
errors resulted in scheduled jobs showing incorrect and confusing
status message.
@miretskiy
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Sep 18, 2020

Build succeeded:

@craig craig bot merged commit 77751ac into cockroachdb:master Sep 18, 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.

3 participants