-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Labels
area/zstd:chunkedIssues relating to zstd:chunkedIssues relating to zstd:chunked
Description
A side discovery I can’t delve into now:
storage/pkg/chunked/cache_linux.go
Line 114 in 98ad80d
cache := &layersCache{ |
storage/pkg/chunked/cache_linux.go
Line 77 in 98ad80d
cache *layersCache |
AFAICS that means every cache user ( = every chunked differ = every layer extraction) builds the cache from scratch. The fix is trivial in itself, but it would expose currently-impossible concurrency, so it might need specific testing.
Cc: @giuseppe
Metadata
Metadata
Assignees
Labels
area/zstd:chunkedIssues relating to zstd:chunkedIssues relating to zstd:chunked