Skip to content

Issue with concurrent layer metadata extraction #62

@mc256

Description

@mc256

Describe your question here

There is a race condition when caching two layer concurrently. I was found this bug by concurrently running two

		ext, err := NewExtractor(server, img, true)
		_, err = ext.SaveToC()

in an errgroup.Group

The image we are caching

"starlight/mariadb@sha256:9c0c61b8c8c7e406f48ab2c9fb73181e2f0e07ec327f6a8409f7b64c8fc0a0d6",
"starlight/mariadb:10.11.4"

What kind of hardward you have?

Irrelevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions