Verified in 6.13.1 snap 1 (python39-pulpcore-3.21.6-1.el8pc.noarch) on a VM with 32 GB RAM, 8 CPU, 500 GB storage. The import times were compared to an unpatched Satellite running on a different VM with same RAM/CPU/storage size.
Steps to verify:
1) Sync RHEL8 AppStream RPMs repo with immediate download policy and perform 'complete repository' export. The repository contains 29342 packages and export takes 88 GB of space.
2) Sync it again and perform 'incremental repository' export (no content was added actually, but metadata). The export takes just 78 MB.
3) Copy the exports to the importing Satellites (unpatched and patched). Set the default download policy to immediate and upload manifest.
4) Import the complete data, then import the incremental data, measure the task times.
On the unpatched Satellite the complete import took
real 106m33.193s
user 0m14.962s
sys 0m1.889s
and incremental import took
real 53m3.873s
user 0m8.168s
sys 0m1.022s
On the patched Satellite the complete import took
real 84m22.443s
user 0m13.049s
sys 0m1.731s
and incremental import took
real 28m52.590s
user 0m4.893s
sys 0m0.600s
As we can see:
1) the complete import time was improved by ~21 %
2) the incremental import time was improved by ~46 %
3) incremental/complete import time ratio improved from ~50 % to ~34 %.
Given the results I consider the BZ as verified.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: Satellite 6.13.1 Async Security Update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2023:3387