Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4552

Lifecycle hook on cache disk state change

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Cache, TS API
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: