Skip to content

[fix] Unique key constraint violation fix #4505

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

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

bruntib
Copy link
Contributor

@bruntib bruntib commented Mar 25, 2025

When checkers are stored in the "checkers" table, it is possible that a unique key constratint violation happens in case of parallel run storage. This event constitutes as an sqlalchemy.exc.IntegrityError. When it happens we just need to retry insertion.

When checkers are stored in the "checkers" table, it is possible that
a unique key constratint violation happens in case of parallel run
storage. This event constitutes as an `sqlalchemy.exc.IntegrityError`.
When it happens we just need to retry insertion.
@bruntib bruntib added this to the release 6.26.0 milestone Mar 25, 2025
@bruntib bruntib requested a review from cservakt March 25, 2025 14:21
@bruntib bruntib requested a review from vodorok as a code owner March 25, 2025 14:21
@cservakt cservakt merged commit 4cad04d into Ericsson:master Apr 7, 2025
7 of 8 checks passed
@bruntib bruntib deleted the checkers_unique_key branch April 8, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants