akka / akka-persistence-jdbc

Asynchronously writes journal and snapshot entries to configured JDBC databases so that Akka Actors can recover state

Home Page:https://doc.akka.io/docs/akka-persistence-jdbc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consecutive calls to defer/deferAsync trip circuit-breaker

fredfp opened this issue · comments

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

Closing as this will become a non issue if the proposed fix to akka-persistence is accepted: akka/akka#28542