-
Notifications
You must be signed in to change notification settings - Fork 113
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
Conversation
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. |
07ffaed
to
4f278f8
Compare
@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. |
@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... |
This PR fixes a concurrency issue when listing received shares.