You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/04/08 19:23:25 UTC

[jira] [Updated] (TS-3445) Allow clear a specific volume

     [ https://issues.apache.org/jira/browse/TS-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-3445:
------------------------------
    Fix Version/s:     (was: 6.2.0)
                   sometime

> Allow clear a specific volume
> -----------------------------
>
>                 Key: TS-3445
>                 URL: https://issues.apache.org/jira/browse/TS-3445
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cache
>            Reporter: Leif Hedstrom
>            Assignee: Alan M. Carroll
>             Fix For: sometime
>
>
> Today, we have a way to clear the entire cache, e.g.
> {code}
> traffic_server -Cclear
> {code}
> It'd be useful to be able to do this with more finer granularity, e.g.
> {code}
> traffic_server -Cclear=1
> {code}
> or some such (I don't even know if the above would work with our clunky option parsing ...). The use case would be that you setup some number of volumes, in volume.config, and then use hosting.config to allocate certain volumes for certain content.
> For example, it's reasonable to have e.g.
> volume.config:
> {code}
> volume=1 scheme=http size=50%
> volume=2 scheme=http size=50%
> {code}
> hosting.config:
> {code}
> domain=ogre.com volume=1
> domain=boot.org volume=2
> {code}
> Wish we had  more APIs for this, but that's a separate Jira :). Note that hosting.config allows specifying multiple volumes for a domain (or host), e.g. volume=1,3. For that, it might be useful for the "clear" command to take the same option (-Cclear=1,3).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)