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

Fix data race between ReloadIfChanged and read-only usage of layerStore #1322

Merged
merged 1 commit into from
Sep 6, 2022

Commits on Sep 5, 2022

  1. 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>
    tyler92 committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    a360de2 View commit details
    Browse the repository at this point in the history