make some things such as cache max_size and proxy_cache_min_uses tunable

Bug #1825325 reported by Tom Haddon
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Content Cache Charm
Fix Released
Medium
Haw Loeung

Bug Description

We should make some things such as cache max_size and proxy_cache_min_uses tunable (charm options)

Related branches

Revision history for this message
Haw Loeung (hloeung) wrote :

Automatically determine the cache max_size if none provided (something like 70-75% of total disk size since the nrpe charm is configured to alert at 80% by default).

Changed in content-cache-charm:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Haw Loeung (hloeung) wrote :

So here's what I have planned for this:

- firstly, land a small change to allow overriding cache max_size as a charm config option.

- update charm to allow auto-calculating cache max_size if none given, or set to 0.

- update charm to expose an other/additional proxy_cache_path config option, this will cover proxy_cache_min_uses if the user requires as well as others.

Changed in content-cache-charm:
assignee: nobody → Haw Loeung (hloeung)
Revision history for this message
Barry Price (barryprice) wrote :

> firstly, land a small change to allow overriding cache max_size as a charm config option.

Just for the record, this one change has been merged via the above, and is now in the latest stable release as "cache_max_size" (default 1GB).

This bug can remain open to track the other features.

Haw Loeung (hloeung)
Changed in content-cache-charm:
status: Triaged → In Progress
Haw Loeung (hloeung)
Changed in content-cache-charm:
status: In Progress → Won't Fix
status: Won't Fix → Fix Committed
Haw Loeung (hloeung)
Changed in content-cache-charm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.