-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race conditions when handling barriers
* Avoid race condition when creating a barrier by using `ON CONFLICT DO NOTHING` like we already do for job networks * Avoid race conditions when waiting on and destroying barriers by calling update/delete on the search results (and not a single search result) so the update/deletion is just not affecting any rows instead of running into `row not found` * See https://progress.opensuse.org/issues/156754
- Loading branch information
Showing
1 changed file
with
21 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters