-
Notifications
You must be signed in to change notification settings - Fork 10
Fix worker registering trashed bags #17
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
base: master
Are you sure you want to change the base?
Conversation
|
Seems like it's the right way to do it from Huub's suggestion. I assume you've tested it on your instance? |
|
There is something I couldn't figure out yet: Before cf524f0, when I tried to register a new bag, the API server answers with a status code 500. This is caused by a violated SQL constraint, where Anyways, now it is tested and works on my stack. This is what happened on the server's side |
|
Seems like adding the comparison on One way to fix it is probably to update the code to always set it to false for new bags so that it isn't null anywhere |
|
But when doing this (avoiding |
Fixes the worker's behavior to register trashed bags that are still available in a store.
Uses the solution @hfchendrikx has stated in this comment.
closes #1