[
https://issues.apache.org/jira/browse/TS-4552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15334022#comment-15334022
]
James Peach commented on TS-4552:
---------------------------------
Are there metrics for the number of healthy disks, bad disks, etc?
> 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)