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

Allow concurrent blob Sets, use RWMutex #1733

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

mattmoor
Copy link
Collaborator

No description provided.

Signed-off-by: Matt Moore <mattmoor@chainguard.dev>
@mattmoor mattmoor enabled auto-merge (squash) June 16, 2023 22:10
@codecov-commenter
Copy link

Codecov Report

Merging #1733 (9a6a240) into main (9010ce1) will decrease coverage by 0.05%.
The diff coverage is 81.25%.

@@            Coverage Diff             @@
##             main    #1733      +/-   ##
==========================================
- Coverage   71.94%   71.89%   -0.05%     
==========================================
  Files         122      122              
  Lines        9818     9822       +4     
==========================================
- Hits         7064     7062       -2     
- Misses       2076     2080       +4     
- Partials      678      680       +2     
Impacted Files Coverage Δ
pkg/registry/blobs_disk.go 50.00% <81.25%> (+5.55%) ⬆️

... and 1 file with indirect coverage changes

m.lock.Lock()
defer m.lock.Unlock()

return os.Rename(f.Name(), filepath.Join(m.dir, h.String()))

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression High

This path depends on a
user-provided value
.
@mattmoor mattmoor merged commit 44a6e2e into google:main Jun 16, 2023
17 of 18 checks passed
@mattmoor mattmoor deleted the concurrent-set branch June 16, 2023 22:28
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