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

Revert "Remove while loop from check_service" #1817

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

Zlopez
Copy link
Contributor

@Zlopez Zlopez commented Sep 25, 2024

This reverts commit 46d2863.

I was able to find the issue that caused the threads to be stuck in the production. It was caused by some deadlock in the database, operations waiting on each other. I'm not sure what caused it, but after removing the locks the processing is working again and there wasn't any thread stuck till then.

Also this change is causing errors to happen when tested on staging. From the first look it seems to be caused by simultaneous access to the database for insert operation, but as the original code is working and the issue wasn't caused by it I'm reverting this commit.

@Zlopez Zlopez requested a review from a team as a code owner September 25, 2024 11:41
Copy link

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/04de7de4a7ea4a3fb5c3e4a86eceb77d

✔️ fi-tox-mypy SUCCESS in 5m 09s
✔️ fi-tox-lint SUCCESS in 4m 47s
✔️ fi-tox-format SUCCESS in 4m 55s
✔️ fi-tox-python310 SUCCESS in 7m 59s
✔️ fi-tox-python311 SUCCESS in 8m 40s
✔️ fi-tox-python312 SUCCESS in 9m 28s
✔️ fi-tox-docs SUCCESS in 5m 56s
✔️ fi-tox-bandit SUCCESS in 4m 27s
✔️ fi-tox-diff-cover SUCCESS in 9m 55s

@Zlopez Zlopez merged commit 5cabe6d into fedora-infra:master Sep 25, 2024
6 checks passed
@Zlopez Zlopez deleted the 1806 branch September 25, 2024 12: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.

1 participant