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

feat(storage): enable parallel writes by using per-repo locking #2600

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

andaaron
Copy link
Contributor

@andaaron andaaron commented Aug 9, 2024

Very basic POC. Need to get it working first.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@andaaron andaaron force-pushed the storage branch 2 times, most recently from 8aa74db to b6d386c Compare August 12, 2024 14:42
Copy link

codecov bot commented Aug 12, 2024

Codecov Report

Attention: Patch coverage is 95.96774% with 5 lines in your changes missing coverage. Please review.

Project coverage is 92.68%. Comparing base (1acf124) to head (a775dca).

Files Patch % Lines
pkg/storage/imagestore/lock.go 82.60% 2 Missing and 2 partials ⚠️
pkg/storage/imagestore/imagestore.go 98.46% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2600      +/-   ##
==========================================
- Coverage   92.69%   92.68%   -0.01%     
==========================================
  Files         169      170       +1     
  Lines       22523    22556      +33     
==========================================
+ Hits        20878    20907      +29     
- Misses       1026     1027       +1     
- Partials      619      622       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rchincha
Copy link
Contributor

@andaaron andaaron force-pushed the storage branch 2 times, most recently from 7343d22 to f23ccb3 Compare August 17, 2024 16:12
Remove the logic to discard unused locks as it produced deadlocks

Signed-off-by: Andrei Aaron <[email protected]>
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.

2 participants