dotnet-architecture / HealthChecks

Experimental Health Checks for building services, such as with ASP.NET Core
Other
454 stars 124 forks source link

Circular health checks dependency loops #87

Open Gaikotsu2 opened 6 years ago

Gaikotsu2 commented 6 years ago

If multiple services are set up resulting in a circular dependency loop, they will all report as Unhealthy even if they are otherwise fully functional.

For example: Service A => Service B => Service C => Service A

I have attached a simple solution with 3 web application projects that will cause the failure. Exploration.HeathCheck.zip

Detection of the loop would be easy enough, but deciding what action to take after detection seems like a catch 22 situation.