Bug 1160870 - RFE: create sqlite in temp location and move to repodata after generation
Summary: RFE: create sqlite in temp location and move to repodata after generation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo_c
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mlcoch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-05 20:47 UTC by Dennis Gregorovic
Modified: 2014-11-06 14:14 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-06 13:52:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dennis Gregorovic 2014-11-05 20:47:19 UTC
sqlite on NFS volumes can be very problematic (i.e. operations that normally take seconds can take hours).  When createrepo_c generates sqlite metadata, please use a temp directory on local disk and then move the end result to the repodata directory.  This would save from having to use --output-dir as a workaround.

Comment 1 Tomas Mlcoch 2014-11-06 13:52:14 UTC
Good point! I've just added new option --local-sqlite [1].
This option is available since version 1.7.2 which was just built in rawhide [2].

[1] https://github.com/Tojaj/createrepo_c/commit/5130231cea086c986593f572b94f88b35c4ce607
[2] http://koji.fedoraproject.org/koji/taskinfo?taskID=8054826


Note You need to log in before you can comment on or make changes to this bug.