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

[v5.19, backport] storage: use race-free AddNames instead of SetNames #1503

Merged
merged 4 commits into from Mar 23, 2022

Conversation

flouthoc
Copy link
Contributor

Backport of: #1480

Commits from parallel builds using SetNames removes names from
storage for other builds.

Use race-free atomic AddNames to prevent breaking of parallel builds.

Signed-off-by: Aditya R <arajan@redhat.com>
Commits from parallel builds using `SetNames` removes `names` from
storage for other builds.

Use race-free atomic `AddNames` to prevent breaking of parallel builds.

Signed-off-by: Aditya R <arajan@redhat.com>
Signed-off-by: Aditya R <arajan@redhat.com>
@flouthoc
Copy link
Contributor Author

@mtrmac @vrothberg PTAL this backports the needed commit, could we cut a 1.19.2 once this gets merged.

@flouthoc
Copy link
Contributor Author

I think CI is not getting triggered because of github outage or could it be something else ?

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 if tests pass. Thanks!

@mtrmac
Copy link
Collaborator

mtrmac commented Mar 23, 2022

could we cut a 1.19.2 once this gets merged.

Sure. Would you like to prepare the usual two-commit PR? Compare https://github.com/containers/image/pull/1457/commits .

@flouthoc
Copy link
Contributor Author

@mtrmac I have added two consecutive commits in this same PR, i wonder if i just need to add v5.19.3 in the last commit.

Signed-off-by: Aditya R <arajan@redhat.com>
@flouthoc
Copy link
Contributor Author

@mtrmac bumped to 5.19.3-dev in a new commit.

@mtrmac
Copy link
Collaborator

mtrmac commented Mar 23, 2022

I was kinda thinking of a separate PR, but this works just as well and saves us some CI time.

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, assuming tests pass.

@flouthoc
Copy link
Contributor Author

@mtrmac tests are green now :D

@mtrmac mtrmac merged commit 2fad048 into containers:release-5.19 Mar 23, 2022
@mtrmac
Copy link
Collaborator

mtrmac commented Mar 23, 2022

@TomSweeneyRedHat
Copy link
Member

@TomSweeneyRedHat
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants