We encounter hundreds of these during a node shutdown
unhandled message from Actor[pekko://main/system/sharding/transactionsAggregates#-1585167465] to Actor[pekko://main/system/sharding/transactionsAggregates/4#-516417762]: ShardsUpdated(5)
Root cause is to link to link ShardRegion sending updates for each terminated shard when passivation strategy is used:
if (settings.passivationStrategy != ClusterShardingSettings.NoPassivationStrategy) {
shards.values.foreach(_ ! ShardsUpdated(shards.size))
}
We encounter hundreds of these during a node shutdown
Root cause is to link to link
ShardRegion
sending updates for each terminated shard when passivation strategy is used:See here
That message is not handled/ignored by the
Shard
during termination:See here
There would be two ways to fix this:
ShardRegion
propertygracefulShutdownInProgress
is already set totrue
- check for that in the if and don't send any more updatesShard
match and ignore theShardsUpdated