You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/27 18:40:00 UTC
[jira] [Commented] (TC-481) ORT should expire yum cache rather than
purging it completely
[ https://issues.apache.org/jira/browse/TC-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103670#comment-16103670 ]
ASF GitHub Bot commented on TC-481:
-----------------------------------
GitHub user guzzijason opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/762
[TC-481] change ort to expire yum cache rather than purge
More efficient to cause revalidation rather than re-fetch the
same metadata over and over.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/guzzijason/incubator-trafficcontrol ort-yum
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/762.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #762
----
commit 6ae702c73076ec93fdf299881d854cabd6f8992b
Author: Jason Tucker <ja...@comcast.com>
Date: 2017-07-27T18:37:41Z
[TC-481] change ort to expire yum cache rather than purge
More efficient to cause revalidation rather than re-fetch the
same metadata over and over.
----
> ORT should expire yum cache rather than purging it completely
> -------------------------------------------------------------
>
> Key: TC-481
> URL: https://issues.apache.org/jira/browse/TC-481
> Project: Traffic Control
> Issue Type: Improvement
> Components: Traffic Ops ORT
> Reporter: Jason Tucker
> Priority: Minor
>
> Currenty, ORT is performing `yum clean metadata`, which purges all metadata (and the db files for each repo). This should be switched to `yum clean expire-cache` which is more lightweight, as it simply causes revalidation of metadata.
> (PR forthcoming)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)