Skip to content

Akka.Cluster.Sharding documentation - need to explain how to shut down entities when remember-entities=on #4096

@Aaronontheweb

Description

@Aaronontheweb

Version: 1.3.16

When running an Akka.Cluster.Sharding setup with storage-mode = persistence and remember-entities = on, it turns out that it is impossible to permanently kill any entity actors even if this is the desired outcome.

I can send along a small reproduction example in short order, but the quick version: entity actors that terminate themselves via Context.Stop are always restarted by Akka.Cluster.Sharding within a few seconds and these actors are also automatically created when an Akka.Cluster.Sharding node recreates following a process restart of a singleton cluster.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions