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 concurrency issue when listing received shares #4267

Merged
merged 4 commits into from
Oct 18, 2023

Conversation

aduffeck
Copy link
Contributor

@aduffeck aduffeck commented Oct 18, 2023

This PR fixes a concurrency issue when listing received shares.

@update-docs
Copy link

update-docs bot commented Oct 18, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@aduffeck aduffeck changed the title WIP: Fix listing received shares Fix concurrency issue when listing received shares Oct 18, 2023
@aduffeck aduffeck marked this pull request as ready for review October 18, 2023 08:54
@aduffeck aduffeck requested review from glpatcern and a team as code owners October 18, 2023 08:56
@wkloucek
Copy link
Contributor

@aduffeck is there a issue / other source that describes the symptoms? I know a few support cases that are related to share creation / listing and would like to know if one of them is fixed by this PR.

@aduffeck
Copy link
Contributor Author

@wkloucek no, I don't think there's an issue for that. The problem was that the CI pipelines started to flake after turning on the auto-acceptance of shares. Retrieving the list of received shares while also creating shares for that user could run into concurrency issues and panic. Not sure how likely it is to trigger that in real-world scenarios...

@aduffeck aduffeck merged commit 4565fd5 into cs3org:edge Oct 18, 2023
9 checks passed
@aduffeck aduffeck deleted the fix-listing-received-shares branch October 18, 2023 14:13
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.

None yet

3 participants