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

Add unique index to series_id for evaluations #4359

Merged
merged 3 commits into from
Jan 30, 2023

Conversation

jorg-vr
Copy link
Contributor

@jorg-vr jorg-vr commented Jan 27, 2023

This pull request adds a unique index to evaluations. This avoids multiple evaluations belonging to the same series.

Although a new evaluation should never be created if one already exists, it has happened in practice, resulting in further errors down the line. The unique index should result in an error upon creation, which we can then look into avoiding.

Tested on naos. Duplicate evaluations are removed, series can be deleted again.

Closes #4356 .

@jorg-vr jorg-vr added the bug Something isn't working label Jan 27, 2023
@jorg-vr jorg-vr self-assigned this Jan 27, 2023
@jorg-vr jorg-vr temporarily deployed to naos January 30, 2023 09:12 — with GitHub Actions Inactive
@jorg-vr jorg-vr marked this pull request as ready for review January 30, 2023 09:18
@jorg-vr jorg-vr requested a review from a team as a code owner January 30, 2023 09:18
@jorg-vr jorg-vr requested review from niknetniko and chvp and removed request for a team January 30, 2023 09:18
@jorg-vr jorg-vr merged commit 23f7484 into develop Jan 30, 2023
@jorg-vr jorg-vr deleted the fix/failed-series-deletion branch January 30, 2023 09:43
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

Successfully merging this pull request may close these issues.

Series removal fails
3 participants