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 2015/03/16 16:28:38 UTC

[jira] [Created] (TS-3445) Allow purging a specific volume

Leif Hedstrom created TS-3445:
---------------------------------

             Summary: Allow purging 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


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=0,3
{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 :).



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