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 in mem.BlobCreate #34

Merged
merged 1 commit into from
Dec 25, 2023

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

The check for an existing blob was missing a lock leading to a race.

Describe the change

This fixes the race.

How to verify it

Changelog text

  • Fix: Add lock for data race in mem.BlobCreate.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit 357bcc4 into olareg:main Dec 25, 2023
3 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-mem-blob-create-race branch December 25, 2023 21:35
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

1 participant