Bug 1276850 - /var/lib/dnf/yumdb/*/*/checksum_data
Summary: /var/lib/dnf/yumdb/*/*/checksum_data
Keywords:
Status: CLOSED DUPLICATE of bug 1167239
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-31 12:10 UTC by Sami Farin
Modified: 2015-11-02 15:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-02 15:39:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sami Farin 2015-10-31 12:10:52 UTC
Description of problem:
When doing e.g. "dnf upgrade", instead of reading one line of every checksum_data file in there, it could use a database instead.

# find /var/lib/dnf/yumdb -type f -name checksum_data|wc -l
19196

Version-Release number of selected component (if applicable):
1.1.3-1

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
waste 10 minutes waiting (if no SSD) for dnf to read 19196 files

Expected results:
waste 0.1 seconds for a similar operation if using database

Additional info:

Comment 1 Honza Silhan 2015-11-02 15:39:13 UTC

*** This bug has been marked as a duplicate of bug 1167239 ***


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