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

Fix a race condition #4160

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Fix a race condition #4160

merged 1 commit into from
Oct 12, 2023

Conversation

nono
Copy link
Member

@nono nono commented Oct 12, 2023

The system test accounts_cleaning.rb has failed a couple of times on the CI. The reason is that it tries to clean two accounts for the same konnector at the same time, and both jobs need to recreate a work directory and update the permission of the konnector. There was a race condition, where it may happen that a conflict on the CouchDB document for the permissions makes one job to fail. A retry loop will fix this issue.

The system test accounts_cleaning.rb has failed a couple of times on the
CI. The reason is that it tries to clean two accounts for the same
konnector at the same time, and both jobs need to recreate a work
directory and update the permission of the konnector. There was a race
condition, where it may happen that a conflict on the CouchDB document
for the permissions makes one job to fail. A retry loop will fix this
issue.
@nono nono requested a review from a team as a code owner October 12, 2023 07:12
@nono nono merged commit 10bd51e into master Oct 12, 2023
6 checks passed
@nono nono deleted the fix-ensure-permissions branch October 12, 2023 08:03
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.

2 participants