Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
/ pulp Public archive

Use multi-resource locking when additional_repos override is passed #3947

Merged
merged 2 commits into from
Sep 10, 2019

Conversation

dralley
Copy link
Contributor

@dralley dralley commented Aug 6, 2019

The RPM plugin needs to accept more than one source and destination
repository for copy operations. The "additional_repos" flag is being
added to deal with this. Core needs to look for this flag in the
override config and then, when present, lock on all the repo ids present
within as well as the directly-specified source and destination repo
ids.

re: #5067
https://pulp.plan.io/issues/5067

@dralley dralley added the Feature label Aug 6, 2019
@dralley dralley force-pushed the 2-master branch 4 times, most recently from f9e629e to bf518c4 Compare August 6, 2019 18:46
The RPM plugin needs to accept more than one source and destination
repository for copy operations. The "additional_repos" flag is being
added to deal with this. Core needs to look for this flag in the
override config and then, when present, lock on all the repo ids present
within as well as the directly-specified source and destination repo
ids.

re: #5067
https://pulp.plan.io/issues/5067
Locking all source repos too may degrade performance and despite a
minimal risk by not doing so, the tradeoff is likely worth it. It is
also the current behavior.

re: #5067
https://pulp.plan.io/issues/5067
@dralley dralley merged commit 8884300 into pulp:2-master Sep 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants