New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transition from Active to NoState not allowed #29383
Comments
I think this is because we don't allow termination without prior passivation, when not using remember entities, but I'm guessing you used to be able to do that, so a regression. A workaround until we fix is to passivate (https://doc.akka.io/docs/akka/current/cluster-sharding.html#passivation ) instead of immediate stopp of actors. |
Hi @johanandren , here is the configuration we hace that creates the issue:
Anyway we will try to activate the passivation |
…tities akka#29383 We missed an allowed transition from running/active to stopped/NoState in shard when the logic was rewritten.
…tities akka#29383 We missed an allowed transition from running/active to stopped/NoState in shard when the logic was rewritten.
* Allow entities to stop by terminating in sharding without remember entities #29383 We missed an allowed transition from running/active to stopped/NoState in shard. when the logic was rewritten. * Add a toggle to opt-in crash shard on illegal state transitions Default is logging an error and not crashing shard and all other entities, our tests have the toggle enabled. * A fix for passivation when not using remember entities fixing #29359 and possibly #27549
We have now released Akka 2.6.8 with a fix for this, thanks for reporting so that we could do a swift fix @mikelalvarezgo |
Reported in gitter by @mikelalvarezgo
The text was updated successfully, but these errors were encountered: