Need to document ActorInitializationException
and how it occurs in actor lifecycle
#5969
Labels
ActorInitializationException
and how it occurs in actor lifecycle
#5969
Well I learned something new today
Throwing an exception in an actor's
PreStart
block will not allow the actor to be restarted: https://replit.com/@Aaronontheweb/ActorsPreStart#main.csI'm trying to imagine if that's by design or not (it might be since the child actor can't really complete its startup sequence if it fails there.)
Either way, that means this bug is more severe than I thought. We'll get this patched right away.
Originally posted by @Aaronontheweb in #5962 (comment)
One implication of this is that the actor's
PostStop
method is also never called, which causes functions that depend onPostStop
for cleanup such asIWithTimers
to never run correctly.The text was updated successfully, but these errors were encountered: