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
Since we don’t have Throwable in .Net in Akka.net the strategy is Restart by default, so yes the docs are a bit misleading and it was fixed in #3308 therefore closing this one.
http://getakka.net/articles/actors/fault-tolerance.html#default-supervisor-strategy says:
The implementation doesn't match this behaviour:
akka.net/src/core/Akka/Actor/SupervisorStrategy.cs
Lines 104 to 107 in feecd5e
https://doc.akka.io/docs/akka/current/fault-tolerance.html#default-supervisor-strategy says:
It's important to note here that there is no similar class for
Throwable
in .NET, that is, a base class forException
.I also found that at one point, akka did escalateThrowable
but it was removed, so possibly their docs are out-of-date as well. See akka/akka@f054474#diff-c831999efea2141bffe949611799a66b for the relevant commit removing it.The default in akka is to restart on
Exception
and escalate on other types ofThrowable
. See https://gitter.im/akka/akka?at=5a4f8140ce68c3bc7480943cRelevant gitter discussions:
The text was updated successfully, but these errors were encountered: