Current refresh_pattern does not work for large debs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Repository Cache Charm |
New
|
Undecided
|
Unassigned |
Bug Description
The current refresh_patterns for ubuntu-
# refresh pattern for debs and udebs
refresh_pattern deb$ 129600 100% 129600
refresh_pattern udeb$ 129600 100% 129600
refresh_pattern tar.gz$ 129600 100% 129600
# refresh stats: https:/
HTTP histogram:
Count %Total Category
6571 0.18 Stale: expires time reached
0 0.00 Fresh: refresh_pattern last-mod factor percentage
Cache Digests histogram:
Count %Total Category
8293 1.65 Stale: expires time reached
3672 0.73 Fresh: refresh_pattern last-mod factor percentage
On Store histogram:
Count %Total Category
2352 11.26 Fresh: expires time not reached
0 0.00 Fresh: refresh_pattern last-mod factor percentage
For example archive.
I think:
refresh_pattern deb$ 129600 100% 129600
refresh_pattern udeb$ 129600 100% 129600
refresh_pattern tar.gz$ 129600 100% 129600
Should be:
refresh_pattern deb$ 129600 98% 129600
refresh_pattern udeb$ 129600 98% 129600
refresh_pattern tar.gz$ 129600 98% 129600
So squid has time to fetch larger debs upstream before the Cache-Control: max-age=$secs is reached.
description: | updated |
summary: |
- deb refresh_pattern has no effect + deb refresh_pattern has no effect for large debs |
summary: |
- deb refresh_pattern has no effect for large debs + Current refresh_pattern does not work for large debs |