Bug 652815
Summary: | Satellite 5.4: supposedly an empty sync takes just as long as a new (full) sync (download-packages part) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Milan Zázrivec <mzazrivec> | ||||||||
Component: | Satellite Synchronization | Assignee: | Michael Mráka <mmraka> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Jiri Kastner <jkastner> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | 540 | CC: | cperry, gbock, jfenal, jkastner, mmraka | ||||||||
Target Milestone: | --- | Keywords: | Regression | ||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | spacewalk-backend-1.2.13-12 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2010-12-13 14:31:39 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 646488 | ||||||||||
Attachments: |
|
Description
Milan Zázrivec
2010-11-12 21:05:53 UTC
Created attachment 460151 [details]
log from satellite-sync on Satellite 5.3 (w/ all relevant erratas applied)
Created attachment 460152 [details]
log from satellite-sync on Satellite 5.4 (incomplete)
_missing_not_cached_packages() has been fixed in spacewalk git by commit 1f9730525a66e71dc9410506160d216dc4047bdf download and parse only missing packages Also 'Retrieving short package metadata' step has been speeded up by (in spacewalk git) commit 6f766c4d87b02ab4bc71068720a46cd37f0e38c1 skip packages we already processed Two more commits fixing Diffing and Downloading phases; spacewalk git: commit 9274a7dbfd4ed0164e070377d6f1e38035773dc6 652815 - made list of ids in non-full dicts disjunct commit a573e9b497b7aa848d6410afdbb755e086616182 652815 - created _channel_*_full dicts to hold full list of ids fo channel Backported to SATELLITE-5.4: commit b2e7f2000d1a45abf89f7c26dd978b94147d7b9c 652815 - made list of ids in non-full dicts disjunct commit 3620c2ee519ee42c20d2de3a38c97b9192e1345a 652815 - created _channel_*_full dicts to hold full list of ids fo channel original dicts should contain every id only once so we don't download and parse them repeatedly commit 3a1429fd5e40924a9d6539b1b97b8fc9a84e5280 download and parse only missing packages Created attachment 461279 [details]
satellite-sync log
satellite-sync with the fixes from this bug applied, running on satdump01
(phx2), all RHEL-3,4,5,6 channels (678 channels).
before upgrade: Import complete: Begin time: Tue Nov 23 05:03:47 2010 End time: Tue Nov 23 23:14:12 2010 Elapsed: 18 hours, 10 minutes, 24 seconds after update and removal of /var/satellite/{redhat,rhn}/*: Import complete: Begin time: Wed Nov 24 02:56:11 2010 End time: Wed Nov 24 06:06:50 2010 Elapsed: 3 hours, 10 minutes, 39 seconds empty sync Import complete: Begin time: Wed Nov 24 06:34:06 2010 End time: Wed Nov 24 06:35:33 2010 Elapsed: 0 hours, 1 minutes, 26 seconds satellite-sycn rhel5i386 +rhel6-x86_64 (~10000 packages) 10:34:57 Imported kickstartable trees (7) Import complete: Begin time: Wed Nov 24 06:47:18 2010 End time: Wed Nov 24 10:34:57 2010 Elapsed: 3 hours, 47 minutes, 38 seconds empty sync: Import complete: Begin time: Wed Nov 24 10:38:55 2010 End time: Wed Nov 24 10:41:43 2010 Elapsed: 0 hours, 2 minutes, 48 seconds An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0974.html |