-
Notifications
You must be signed in to change notification settings - Fork 407
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
"Fatal error: concurrent map writes" using KOCACHE #579
Comments
Cool! I've never seen this before. Were you doing I think we should either add a mutex or maybe use a |
@imjasonh - it's using |
Also worth noting is |
I'm able to reproduce with
on Tekton's config YAML, which builds "only" about 10 images. The
If I lock and defer-unlock the sync.Mutex in btw, building Tekton's 10 images for ~5 platforms took ~9 minutes without |
Seems to work now! Thank you for such a quick turnaround. Will re-open if it appears to happen again. |
When using
KOCACHE
, I intermittently get a panic error "Fatal error: concurrent map writes"The source appears to be https://github.com/google/ko/blob/e961890072fbfda7b8172cd0614a107f76716c9a/pkg/build/cache.go#L50
Here is the full stack trace:
The text was updated successfully, but these errors were encountered: