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

Jobs are dispatched to workers which upon submit no longer exist #443

Closed
tazlin opened this issue Aug 15, 2024 · 5 comments
Closed

Jobs are dispatched to workers which upon submit no longer exist #443

tazlin opened this issue Aug 15, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@tazlin
Copy link
Member

tazlin commented Aug 15, 2024

My understanding is that the current intention is that workers who are assigned valid jobs (at least, at the time of assignment) should always be able to submit the result for the quoted kudos reward. If the user cancels the job or would timeout by decay (the 20-minute limit), the worker should still receive the reward.

@tazlin tazlin added the bug Something isn't working label Aug 15, 2024
@db0
Copy link
Member

db0 commented Aug 21, 2024

Just to note that a cancelled job still allows the worker to submit as the DB entry is not deleted on cancel.

@tazlin
Copy link
Member Author

tazlin commented Aug 21, 2024

That is only the expected behavior. It is currently possible to get the 'job not found error' and be unable to submit with some high regularity.

@db0
Copy link
Member

db0 commented Aug 21, 2024

I believe you but I wonder why, as the job TTL is reset on job pop.

@tazlin
Copy link
Member Author

tazlin commented Aug 21, 2024

I only was guessing that cancellation is the reason. Something causes a fairly high number of these 'lost' jobs. You can readily find instances of it on your worker, I'm sure. I've seen it in the logs of every worker I've been sent too. I can resolve the worker pausing job pops (see the related issue) but I worry that this all adds up to a fair bit of wasted time and lost kudos.

@db0
Copy link
Member

db0 commented Oct 6, 2024

I think this is fixed after I found the bug of not resetting the request ttl on pop but only on submit

@db0 db0 closed this as completed Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants