-
Notifications
You must be signed in to change notification settings - Fork 12
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
Solvers fail because of unique constraint violation #5251
Comments
/sig stack-guidance |
Similar issue: thoth-station/storages#2308 |
Closing because duplicate of thoth-station/storages#2308 |
Reopened the issue as it is little different than issue: thoth-station/storages#2308
were different than the constraints defined in this issue.
from thoth-station/storages version v0.73.0, two additional fields were included in table So the inclusive causes and when PostgreSQL tries to get the existing entry it wouldn't be able to capture it, as https://github.com/thoth-station/storages/blob/f8d5406d45811ce38bd703f3726614cd571a7553/thoth/storages/graph/models_base.py#L62 try to find an entry with all the field (include those two newly include fields) which doesn't exist. |
Describe the bug
Some solvers in
thoth-middletier-stage
fail because of a unique constraint violation for some packages:Probably related to thoth-station/storages#2729
To Reproduce
Steps to reproduce the behavior:
See solver pod logs on stage cluster.
Expected behavior
Solver should skip packages that have already been solved and handle the exception.
Additional context
Full container log:
The text was updated successfully, but these errors were encountered: