Hi there,

Faced the following problem while using Cluster Sharding.  There are 
actually 2 problems to it:

1. Persistent Actor stuck for some reason in 'Persisting events' state 
forever. No errors or issues in the log. Even in the case of persistent 
storage failure one would expect Persistence Actor to fail, not to stuck

2. They way Shard is forwarding messages it doesn't take into account that 
target persistent Actor could be in inconsistent state. See 
https://github.com/akka/akka/blob/master/akka-cluster-sharding/src/main/scala/akka/cluster/sharding/Shard.scala
 
: 296

case Some(actor) ⇒ actor.tell(payload, snd) case None ⇒ 
getEntity(id).tell(payload, snd) 


As the result Persistence Actor is just silently dropping messages while 
Shard hosting that Actor thinks everything is all right.

Any ideas and suggestions on 
  1. Why Actor could stuck in 'Persisting events' state?
  2. What would be the way to identify situation when Shard is dropping 
messages?
  3. What are potential workarounds here?

are appreciated

(P.S. We are running Akka 2.4.16)

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to