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/06/16 15:30:05 UTC

[jira] [Created] (TS-4552) Lifecycle hook on cache disk state change

Leif Hedstrom created TS-4552:
---------------------------------

             Summary: Lifecycle hook on cache disk state change
                 Key: TS-4552
                 URL: https://issues.apache.org/jira/browse/TS-4552
             Project: Traffic Server
          Issue Type: Improvement
          Components: Cache, TS API
            Reporter: Leif Hedstrom


Sometimes, it might be useful to change runtime behavior based on changes (e.g. disk failures) to the cache. For example, lets say I have 4 disks, and I know that I need 2 disks to function reasonably well. If I now lose two disks, I'd want ATS to take action (plugin would implement the action), such as shutting down, or going into no-accept mode etc.

Also, on startup, the same logic would apply. If I can't satisfy my cache requirements at startup, it should not let ATS pass the cache-ready lifecycle hook.



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