Skip to content

[Sharding.Delivery] Stopped consumer causes ShardingConsumerControllerImpl to shutdown uncleanly #7713

@Arkatufus

Description

@Arkatufus

Version Information
Version of Akka.NET? dev
Which Akka.NET Modules? Akka.Cluster.Sharding.Delivery

Describe the bug

When a cluster sharding delivery entity is stopped (by passivation or other means), the ShardingConsumerControllerImpl immediately stops itself without waiting for its other deathwatched children (ProducerController and ConsumerController) to shut down, causing all deathwatch messages to be sent to deadletter. There might be other side effect, such as ProducerController that didn't shut down properly, leaving dangling ConsumerController somewhere in the cluster. <-- not proven

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions