Skip to content

store: lock stores before calling Exists#1877

Merged
openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom
giuseppe:improve-error-code-followup
Apr 8, 2024
Merged

store: lock stores before calling Exists#1877
openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom
giuseppe:improve-error-code-followup

Conversation

@giuseppe
Copy link
Member

@giuseppe giuseppe commented Apr 8, 2024

we need to lock the stores for read before checking if a layer exists.

follow up for 466ee04

addressing the comment here: #1873 (comment)

Copy link
Collaborator

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the followup!

we need to lock the stores for read before checking if a layer exists.

follow up for 466ee04

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe giuseppe force-pushed the improve-error-code-followup branch from ebf7367 to 721d67a Compare April 8, 2024 13:40
Copy link
Collaborator

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: giuseppe, mtrmac

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 58bffca into containers:main Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants