Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix potential deadlock for concurrent syncs #2132

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gerrod3
Copy link
Contributor

@gerrod3 gerrod3 commented Mar 4, 2025

Set all the extra data the collection version needs in the pre save step, this prevents us from editing an already saved collection (probable cause of the deadlock). If the collection version has bad metadata then it should be fixed with the repair endpoint, not in a sync.

fixes: #2131
https://issues.redhat.com/browse/SAT-27939

@gerrod3 gerrod3 force-pushed the lock-post-save branch 2 times, most recently from 304d716 to 3a0f394 Compare March 4, 2025 20:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deadlock when performing multiple syncs with similar content
1 participant