[ 
https://issues.apache.org/jira/browse/TS-4552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15334043#comment-15334043
 ] 

Leif Hedstrom commented on TS-4552:
-----------------------------------

I don't think so? Those would be great to have as well. But, I really want to 
make sure we don't startup (or run) in a bad state (this has bitten us at least 
once, in a bad way).

> 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
>             Fix For: sometime
>
>
> 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)

Reply via email to