You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dead letters about ReplicationRegion$Passivate like the below continue:
14:11:07.307 INFO ip-***-2 akka.actor.LocalActorRef system--akka.actor.default-dispatcher-25 Message [lerna.akka.entityreplication.ReplicationRegion$Passivate] to Actor[akka://my-system/system/sharding/raft-shard-***-replica-group-3/38/38#-115359973] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
Some of the nodes (apps) log dead letters as below, and continue that:
BankAccountBehavior(1680662388) is passivating.
BankAccountBehavior(1680662432) is passivating.
2023-04-05 12:08:44.184 INFO akka.actor.LocalActorRef - - - Message [lerna.akka.entityreplication.ReplicationRegion$Passivate] to Actor[akka://MyAppSystem/system/sharding/raft-shard-BankAccount-tenant-a-replica-group-3/74/74#-934970431] was unhandled. [1004] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
2023-04-05 12:08:44.185 INFO akka.actor.LocalActorRef - - - Message [lerna.akka.entityreplication.ReplicationRegion$Passivate] to Actor[akka://MyAppSystem/system/sharding/raft-shard-BankAccount-tenant-a-replica-group-3/74/74#-934970431] was unhandled. [1005] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
Possible Causes
An entity on a follower is running even after the corresponding entity on the leader was passivated. This could happen in the following scenarios:
A follower's Raft log compaction starts an entity.
A follower's event replay (of Akka Persistence) starts an entity.
Possible solutions
RaftActor will passivate entities after Raft log compactions and event replay of Akka Persistence.
Non-leaders (followers and candidates) handle ReplicationRegion$Passivate such that the sender entity will be passivated eventually.
The text was updated successfully, but these errors were encountered:
Dead letters about
ReplicationRegion$Passivate
like the below continue:How to reproduce
Checkout
lerna-sample-account-app
v2022.12.0
https://github.com/lerna-stack/lerna-sample-account-app/tree/v2022.12.0
2. Change some code and configurations
3. Run
lerna-sample-account-app
3. Run the following script to make HTTP requests
This script doesn't stop automatically.
After a certain time (around 30s~60s), please stop the script.
Some of the nodes (apps) log dead letters as below, and continue that:
Possible Causes
An entity on a follower is running even after the corresponding entity on the leader was passivated. This could happen in the following scenarios:
Possible solutions
ReplicationRegion$Passivate
such that the sender entity will be passivated eventually.The text was updated successfully, but these errors were encountered: