DB connection should reset or application should be marked as failed.
Current Behavior
Currently we have flagr deployed to kubernetes cluster and connected to an Azure hosted postgres installation, will occasionally have connection issues with this message being shown:
{message: "cannot query all flags. write tcp 192.168.8.189:45216->172.21.56.12:5432: write: connection reset by peer"}
Once the container is restarted the connection is restored.
Possible Solution
Health check doesn't take into consideration this error and shows green status. If this error is known during health check I could restart the service
Expected Behavior
DB Connection Fails after a period of time
DB connection should reset or application should be marked as failed.
Current Behavior
Currently we have flagr deployed to kubernetes cluster and connected to an Azure hosted postgres installation, will occasionally have connection issues with this message being shown:
Once the container is restarted the connection is restored.
Possible Solution
Health check doesn't take into consideration this error and shows green status. If this error is known during health check I could restart the service
Your Environment