Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix data race between ReloadIfChanged and read-only usage of layerStore
There was a race condition if a goroutine accessed to layerStore public methods under RO lock and at the same time ReloadIfChanged was called. In real life, it can occurr when there are two concurrent PlayKube requests in Podman. Signed-off-by: Mikhail Khachayants <tyler92@inbox.ru>
- Loading branch information