Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-1049

Watchdog should change health status to unhealthy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9
    • Component/s: bots
    • Labels:

      Description

      Today we had an outage where the disk that some of the bots were using for data stopped working. This caused everything to grind to a halt blocked on IO, except for the health status endpoint, which happily continued serving 200 results. After a while, the watchdog hit its timeout and called System.exit(1), which made no difference as the JVM process couldn't go down.

      I want to change the health status endpoint so that when the watchdog hits, it also flips the health status to unhealthy. This will make us react faster to this situation next time.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              erikj Erik Joelsson
              Reporter:
              erikj Erik Joelsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: