Skip to content

Fix replication to inherit retain_repo_versions from primary - #8033

Draft
dralley wants to merge 2 commits into
pulp:mainfrom
dralley:replicas-retain-rv
Draft

dralley wants to merge 2 commits into
pulp:mainfrom
dralley:replicas-retain-rv

Conversation

@dralley

@dralley dralley commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Replicas now inherit retain_repo_versions from upstream repositories during replication. Previously, replica repositories used the default of None even when the primary set a retention limit.

The File replication test uses published source repositories so their manifests can be synced. The cache revalidation test tolerates a small gap between the server's Last-Modified timestamp and the test process's clock.

Fixes #7022.

Assisted-By: Claude Sonnet 4.5
Assisted-By: OpenAI Codex

@dralley
dralley force-pushed the replicas-retain-rv branch 4 times, most recently from c04be73 to 3bdc3f6 Compare September 1, 2026 20:50
@dralley
dralley force-pushed the replicas-retain-rv branch 2 times, most recently from 73d1cfc to 526fe2a Compare October 14, 2026 02:40
@dralley
dralley force-pushed the replicas-retain-rv branch 4 times, most recently from 51ced0f to 4f8ffa7 Compare October 27, 2026 04:13
@dralley
dralley force-pushed the replicas-retain-rv branch from 4f8ffa7 to 624e321 Compare October 27, 2026 04:19
Replicas inherit retain_repo_versions from upstream repositories during
replication. File replication tests use published source repositories so
their manifests are available to sync.

fixes pulp#7022

Assisted-By: Claude Sonnet 4.5
Assisted-By: OpenAI Codex
CI observed a Last-Modified timestamp about 0.15 seconds ahead of the
test process's clock. Allow up to one second when checking whether the
response date is plausible.

Assisted-By: OpenAI Codex
@dralley
dralley force-pushed the replicas-retain-rv branch from 624e321 to e45bee5 Compare October 27, 2026 04:40

This branch has not been deployed

No deployments
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.

Retain repo version is not encouraged in Pulp Replica servers

1 participant