Replicas should atomically update their distributions#7492
Open
Replicas should atomically update their distributions#7492
Conversation
95d534b to
8c05e06
Compare
2ca9bc6 to
88a62e8
Compare
It's not ideal for distributions to pick up replica changes at random time intervals as various tasks complete, ideally the entire replica is presented as updated at once (or with the smallest possible window). closes pulp#7333 Assisted-By: claude-opus-4.6
88a62e8 to
a92f9e2
Compare
dralley
commented
Mar 31, 2026
| elif upstream_distribution.get("repository_version"): | ||
| # Extract repository href from repository_version href | ||
| repo_href = upstream_distribution["repository_version"].rsplit("versions/", 1)[0] | ||
| manifest = self.repository_ctx_cls(self.pulp_ctx, repo_href).entity["manifest"] |
Contributor
Author
There was a problem hiding this comment.
This is tricky, it implies that other plugins may also have compatibility issues without modification
Contributor
Author
There was a problem hiding this comment.
I believe pulp_python may also need a tweak
Generated-By: claude-opus-4.6
Contributor
Author
|
Pulp Python: pulp/pulp_python#1174 Pulp Container: pulp/pulp_container#2301 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It's not ideal for distributions to pick up replica changes at random time intervals as various tasks complete, ideally the entire replica is presented as updated at once (or with the smallest possible window).
closes #7333
📜 Checklist
See: Pull Request Walkthrough