Skip to content

Repository Version deletion is slow after creating a new repository version #7594

@dkliban

Description

@dkliban

Version
3.107.1

Describe the bug
Repository version creation seems to happen relatively fast, but then the task continues to run as it trims older repository versions.

This is only an issue when the repository has retain-repo-versions set.

2026-04-14 18:32:24.559 pulp [ab6c3d30bf654ca5ae0b98d2aa0fc6cc]: pulpcore.app.models.repository:INFO: Deleting repository version <Repository: metadata-old; Version: 1409> due to version retention limit.
2026-04-14 18:26:45.853 pulp [ab6c3d30bf654ca5ae0b98d2aa0fc6cc]: pulpcore.app.models.repository:INFO: Deleting repository version <Repository: metadata-old; Version: 1413> due to version retention limit.
2026-04-14 18:21:02.897 pulp [ab6c3d30bf654ca5ae0b98d2aa0fc6cc]: pulpcore.app.models.repository:INFO: Deleting repository version <Repository: metadata-old; Version: 1421> due to version retention limit
2026-04-14 18:15:19.273 pulp [ab6c3d30bf654ca5ae0b98d2aa0fc6cc]: pulpcore.app.models.repository:INFO: Deleting repository version <Repository: metadata-old; Version: 1422> due to version retention limit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions