Hi Anders,
You have found the answer and I can confirm that it is still valid.

/Patrik

> 23 mar 2015 kl. 14:00 skrev Anders Båtstrand <[email protected]>:
> 
> I found this thread (don't know why I did not found it using the search 
> function here...):
> 
> http://qnalist.com/questions/5588199/check-if-an-entity-exists-in-cluster-shards
> 
> in which Patrik writes:
> 
> "To be able to answer if the entity exists you have to try to load it (from 
> persistent storage) and the solution you suggest here [start the actor in a 
> special state] is the way to do that. The sharding infrastructure doesn't 
> know if an entry is non-existing or just passivated on disk, and I don't 
> think don't think it should or even can know that."
> 
> I guess that means I need to maintain a registry on valid entryId.
> 
> Anders
> -- 
> >>>>>>>>>> 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 http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.

-- 
>>>>>>>>>>      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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to