Allow entities to stop by terminating without remember entities (#29384)
* 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
This commit is contained in:
parent
9739e6f44d
commit
01edcab657
20 changed files with 144 additions and 56 deletions
|
|
@ -47,6 +47,7 @@ object PersistentStartEntitySpec {
|
|||
akka.remote.classic.netty.tcp.port = 0
|
||||
akka.persistence.journal.plugin = "akka.persistence.journal.inmem"
|
||||
akka.cluster.sharding.verbose-debug-logging = on
|
||||
akka.cluster.sharding.fail-on-invalid-entity-state-transition = on
|
||||
""".stripMargin)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue