You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end of the method, after the compareAndSet, it should always be return true. compareAndSet sets the value to the given updated value if the current value == the expected value. If the method returns false, it means that the current value is already true, which means the circuit is open (another thread got here first in a race) and we should return true.
The text was updated successfully, but these errors were encountered:
Thanks for the report @mswintermeyer , I'll look into it
mswintermeyer
changed the title
HystrixCircuitBreakerImpl isOpen can return true incorrectly
HystrixCircuitBreakerImpl isOpen can return false incorrectly
Apr 8, 2015
At the end of the method, after the
compareAndSet
, it should always bereturn true
.compareAndSet
sets the value to the given updated value if the current value == the expected value. If the method returns false, it means that the current value is already true, which means the circuit is open (another thread got here first in a race) and we should return true.The text was updated successfully, but these errors were encountered: