Netflix / Hystrix

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.
24.09k stars 4.7k forks source link

Fix modify the state of the circuitbreake too early so that the successful request is missed #2012

Closed danielchenxs closed 2 years ago

danielchenxs commented 3 years ago

1.Keep the conditions consistent 2.It is too early to change the state of the circuitbreaker so that the successful request is missed and the circuitbreaker cannot be restored for a long time.