Bug #36164
closedImporting incremental content not recreating metadata properly
Description
Description of problem:
Importing an incremental export of a redhat repository does not update the metadata properly on pulp.
User can see the updated number of packages on the webUI, but clients consuming the repository still see the old count (from before importing the incremental).
Forcing pulp to regenerate the metadata does create it properly and clients can then see the added packages.
How reproducible:
Steps to Reproduce:
1. Do complete export of a Red hat repository
2. Import complete on disconnected server
3. Run "dnf repolist -v" on a client that consumes the repository
4. Export incremental of the same repository (needs to have rpms added)
5. Import incremental
6. On the client "dnf clean all && dnf repolist -v". Same number of packages as on step 3 are seen.
Actual results:
After incremental import, packages are not available for clients.
Expected results:
Added packages should be available for clients.