-
Notifications
You must be signed in to change notification settings - Fork 7
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
Duplicate db entry causes the result upload to fail #21
Comments
@zguesmi Your log implies we have a 2-uploaders race condition here:
|
It might be yes, it should be correctly handled. That might also mean we have fixes to add to the scheduler. |
This issue seems to arise when two or more workers try to upload their result for the same task before the result proxy is fully initialized. All the requests are put in a queue and then executed simultaneously. E.g:
There's probably something to fix here to make it more robust but the scenario where 2 workers try to upload their result for the same task should not happen. |
In integration tests, the worker fails with this error when it tries to push the result:
This exception appears in the result proxy logs:
How to fix:
Add
@Unique
to the fieldtaskId
of the modelIpfsName
here.The text was updated successfully, but these errors were encountered: