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

sql,schemachanger: pause backfill job when disk space runs out #126047

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented Jun 21, 2024

Previously, this error would cause the job to fail and begin reverting. If the cause of the error was insufficient disk space, then attempting to revert is just as likely to fail. Now we pause the job instead.

fixes #125513
Release note: None

@rafiss rafiss added backport-23.1.x Flags PRs that need to be backported to 23.1 backport-23.2.x Flags PRs that need to be backported to 23.2. backport-24.1.x Flags PRs that need to be backported to 24.1. labels Jun 21, 2024
@rafiss rafiss requested a review from fqazi June 21, 2024 22:54
@rafiss rafiss requested a review from a team as a code owner June 21, 2024 22:54
Copy link

blathers-crl bot commented Jun 21, 2024

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@fqazi fqazi left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @rafiss)

Previously, this error would cause the job to fail and begin reverting.
If the cause of the error was insufficient disk space, then attempting
to revert is just as likely to fail. Now we pause the job instead.

Release note: None
@rafiss
Copy link
Collaborator Author

rafiss commented Jun 24, 2024

tftr!

bors r+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1 backport-23.2.x Flags PRs that need to be backported to 23.2. backport-24.1.x Flags PRs that need to be backported to 24.1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

schema: pause schema change job when running out of disk space
3 participants