Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.
Issue #9566
closedCreate better primary keys for subtrees
Description
Ticket moved to GitHub: "pulp/pulp_rpm/2304":https://github.com/pulp/pulp_rpm/issues/2304
Scenario:
My primary pulp instance is hosting 2 distributions of the same repository (like staging and production) which are referencing different versions of the same repository. During my initial run, both distributions are point to version 1. So far so good.
Now I have a secondary pulp instance which is mirroring the 2 primary distributions by creating separate remotes and repositories.
The repository on the primary node contains now a subtree which is identically in version 1 for staging and production. Means it has the same hash.
Now, during the sync process the metadata for this subtree are stored by createing a primary key like "{repodata}-{treeinfo['hash']}". This collides with staging and production, because contentwise and with the hash, the subtree is the same for both staging and production. The key should be something like "{repodata}-{treeinfo['hash']}-{repository_pk}"
Updated by pulpbot almost 3 years ago
- Status changed from NEW to POST
Updated by pulpbot almost 3 years ago
Updated by pulpbot almost 3 years ago
Updated by fao89 almost 3 years ago
- Description updated (diff)
- Status changed from POST to CLOSED - DUPLICATE