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

after stop replication job, the task is actually still running for a while #15708

Closed
bitsf opened this issue Sep 29, 2021 · 3 comments
Closed

Comments

@bitsf
Copy link
Contributor

bitsf commented Sep 29, 2021

Currently when user click stop job, it just set a stop marker in database, and jobservice will break job at some check point.
But if user is copying a big blob, or use replication bandwidth limit (in v2.4), that may need quite a long time before the jobs really exit. Because there isn't any checkpoint inside PushBlob()

if err = t.dst.PushBlob(dstRepo, digest, size, data); err != nil {

The side effect is other executions/tasks may not be scheduled because usually only 10 concurrent workers, and you will see job pending status and log NOT_FOUND problem.
{"errors":[{"code":"NOT_FOUND","message":"{\"code\":10010,\"message\":\"object is not found\",\"details\":\"1537612e372ab09cb9bba00f\"}"}]}

user has to restart jobservice container if he want to force stop the network transfer.

@zyyw
Copy link
Contributor

zyyw commented Oct 11, 2021

wait for feedback from users

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Apr 16, 2022
@github-actions
Copy link

github-actions bot commented Jul 5, 2022

This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.

@github-actions github-actions bot closed this as completed Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants