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(share): protect datastore autobatch in CacheAvailability with a lock #870

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

Wondertan
Copy link
Member

@Wondertan Wondertan commented Jun 29, 2022

During the review of #786, I was assuming the autobatch datastore has an internal lock, but it turns out to be not the case.

Was found while making #592

@Wondertan Wondertan added area:shares Shares and samples kind:fix Attached to bug-fixing PRs labels Jun 29, 2022
@Wondertan Wondertan self-assigned this Jun 29, 2022
service/share/cache_availability.go Show resolved Hide resolved
service/share/cache_availability.go Outdated Show resolved Hide resolved
service/share/cache_availability.go Outdated Show resolved Hide resolved
service/share/cache_availability.go Show resolved Hide resolved
@Wondertan Wondertan merged commit 1bf63ea into main Jun 29, 2022
@Wondertan Wondertan deleted the hlib/fix-cache-avail branch June 29, 2022 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:shares Shares and samples kind:fix Attached to bug-fixing PRs
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants