Consecutive calls to defer/deferAsync trip circuit-breaker
fredfp opened this issue · comments
Arnaud Burlet commented
Multiple consecutive defer/deferAsync
calls trip akka-persistence's circuit-breaker (10 calls in succession are needed for this to happen given the default max-failures
configuration). After that, the first call to persist/persistAsync
will fail with a CircuitBreakerOpenException
.
See also akka/akka#28541
Arnaud Burlet commented
Closing as this will become a non issue if the proposed fix to akka-persistence is accepted: akka/akka#28542