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

Don't schedule a delayed job for "docker" package deletion #4103

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

jochenehret
Copy link
Contributor

@jochenehret jochenehret commented Nov 21, 2024

  • A short explanation of the proposed change:
    Don't schedule blob deletion background jobs when a Docker app is deleted.

  • An explanation of the use cases your change solves
    For Docker apps, the packages do not have an associated blob in the blobstore. So it's not necessary to schedule a delayed job. If there is a large number of packages, this can even lead to a temporary overload scenario of the cc-workers.

  • Links to any other associated PRs
    Expire packages in "Docker" lifecycle #4102

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

* there are no blobs associated with packages of type "docker", so we don't need to schedule a background job
@jochenehret jochenehret requested review from a team November 21, 2024 12:51
@kathap
Copy link
Contributor

kathap commented Nov 22, 2024

LGTM

Copy link
Contributor

@johha johha left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@jochenehret jochenehret merged commit 498f6dc into main Nov 22, 2024
8 checks passed
@jochenehret jochenehret deleted the fix_docker_delete_package_handling branch November 22, 2024 13:13
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Nov 22, 2024
Changes in cloud_controller_ng:

- Don't schedule a delayed job for "docker" package deletion
    PR: cloudfoundry/cloud_controller_ng#4103
    Author: Jochen Ehret <[email protected]>
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