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

frontend: fix the 500 for racy creation attempts #3415

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

praiskup
Copy link
Member

This is TOCTOU issue. The other checks for duplications (on so many places) seem kinda redundant because nothing but try/except for commit() may catch these concurrency problems.

Fixes: #3372

This is TOCTOU issue.  The other checks for duplications (on so many
places) seem kinda redundant because nothing but try/except for commit()
may catch these concurrency problems.

Fixes: fedora-copr#3372
@nikromen nikromen merged commit 609d369 into fedora-copr:main Sep 23, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

500 errors in Packit
2 participants