Bug 1246253
Summary: | [RFE] More robust metadata cache refresh | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Suvayu <fatkasuvayu> |
Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-10 12:55:20 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: |
Description
Suvayu
2015-07-23 19:35:04 UTC
You should always add `--refresh` switch to cmdline if you expect everytime the metadata updated. Any not-up-to-date repo will be reported if not successfully downloaded. I personally don't think the reshleduling the next metadata cache sooner is good solution. It would make it even more complicated and so worse maintainable. You can set lower `metadata_timer_sync`. I don't know if you took the time to go through the thread on the users list, but a common complaint is, adding --refresh doesn't necessarily work (see: <http://thread.gmane.org/gmane.linux.redhat.fedora.general/459014/focus=459143>). I think rather than closing this report as WONTFIX, you should look at possibilities how to improve the situation. I'm no dnf developer, I suggested what I thought to be a possible solution. If the proposed approach is not acceptable, it does not mean the problem is not real. It is still there, and users are complaining about it. Please take the time to consider other options, instead of closing the bug. In any case, I reported this because it was suggested by Radek Holy (IIRC). |