Bug 1210325

Summary: RFE: missing option to download metadata in parallel
Product: [Fedora] Fedora Reporter: Honza Silhan <jsilhan>
Component: librepoAssignee: Martin Hatina <mhatina>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dustymabe, erecio, mhatina, mst, podvody, praiskup, tmlcoch
Target Milestone: ---Keywords: FutureFeature, Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-04 13:44:52 UTC Type: Bug
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: 1172752    

Description Honza Silhan 2015-04-09 13:13:50 UTC
Description of problem:
In librepo there's no option to download metadata in parallel other than running it in different threads which would result in inconsistent log.

Actual results:
no option to download metadata in parallel. It downloads them one by one.


Expected results:
Simultaneously downloads metadata when the option is set

Comment 1 Honza Silhan 2015-08-06 12:55:24 UTC
*** Bug 1172752 has been marked as a duplicate of this bug. ***

Comment 2 EMR_Fedora 2015-08-26 18:50:21 UTC
Trying to download updates, and install packages, many times it just sits there and is either very slow, or just stalls for hours.

(4-5/5): libpurple-devel-2.10.11-12 40% [==============                     ] ---  B/s | 1.2 MB     --:-- ETA

Comment 3 EMR_Fedora 2015-09-01 15:16:02 UTC
So I just tried to dnf download some data, and even with the timeout set to 5 seconds, it took forever cycling through the servers, and just quit (without alternating) downloading meta-data. They were all FTP sites. Yet, when I used wget to each ftp URL that curl timed out on, it worked fine. I am not sure what's happening but it might be an upstream libcurl problem with FTP.

Comment 4 Honza Silhan 2015-11-02 15:22:25 UTC
*** Bug 1275599 has been marked as a duplicate of this bug. ***

Comment 5 Fedora End Of Life 2016-07-19 13:40:57 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 6 Martin Hatina 2017-06-27 07:32:13 UTC
Actually there is a PR for parallel download. https://github.com/rpm-software-management/librepo/pull/95

Comment 7 Martin Hatina 2017-10-04 13:44:52 UTC
Fixed in librepo-1.8.0