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

Lifecycle hook on cache disk state change

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: sometime
    • Component/s: Cache, TS API
    • Labels:
      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

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

              Dates

              • Created:
                Updated: